title: WInJS: Unload x-ms-webview when user navigates away from the page
body: <p>I have a x-ms-webview control in my WinJS App that plays a youtube video.</p>
  
  <p>When I navigate away from the page, the audio from the video continues to play because (I assume) the webview hasn't been unloaded correctly.</p>
  
  <p>What is the best way of removing the webview when a user navigates away from the page?</p>
  
  <p>HTML: <code>&lt;x-ms-webview id="videoPlayer" class="videoPlayer"&gt;&lt;/x-ms-webview&gt;</code></p>
  
  <p>JS: <code>videoPlayer.src = video.VideoURL;</code></p>
  
  <p><strong>EDIT:</strong> I've tried a horrid bodge using the <code>navigateToString("")</code> method in the unload event for the page. Setting this property stops the sound from playing but I hope that's not the only option available.</p>