Android: How to force WebView to play a video from youtube?
<p>i want to play a youtube video using embeded url in webview in my app but the video is opened automatically in youtube application that is insatlled in my phone instead of played in webview in the activity</p>

<p>here is my code </p>

<pre><code>    WebView mWebview = (WebView) findViewById(R.id.mwebview);
    mWebview.getSettings().setJavaScriptEnabled(true);
    mWebview.getSettings().setBuiltInZoomControls(true);
    mWebview.getSettings().setSupportZoom(false);
    mWebview.loadUrl("http://www.youtube.com/embed/" + video.youtube_id);
</code></pre>