title: How to stop youtube video playing in Android webview?
body: <p>How can I stop a YouTube video which is played in my webview? When I click on the back button the video doesn't stop and instead continues in the background.</p>
  
  <p>Code:</p>
  
  <pre><code>webView = (WebView) findViewById(R.id.webview); 
  webView.getSettings().setPluginsEnabled(true);
  webView.getSettings().setJavaScriptEnabled(true);
  webView.getSettings().setBuiltInZoomControls(false); 
  webView.getSettings().setSupportZoom(false);
  webView.loadData(myUrl,"text/html", "utf-8");
  </code></pre>