problem in playing video on android webview using HTML5?
<p>this is my html file...</p>

<pre><code>&lt;html&gt;
&lt;head&gt; Demo &lt;/head&gt;
&lt;body&gt;
    &lt;h1&gt;HTML 5 - Video Demo&lt;/h1&gt;
    &lt;video src="http://www.abc.com/a.m4v" controls="true"&gt;
    &lt;/video&gt;

    &lt;script&gt;
     document.getElementById('video');
    &lt;/script&gt;   
&lt;/body&gt;
</code></pre>

<p></p>

<p>and I'm using this code for java...</p>

<pre><code>public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    this.setContentView(R.layout.viewr);

    WebView web = (WebView) findViewById(R.id.webview);
    web. getSettings().setJavaScriptEnabled (true);
    web.getSettings().setAllowFileAccess(true);
    web. loadUrl ("file:///android_asset/VidDemo.htm");            
    web.setWebViewClient(new MyWebViewClient());

}

final class MyWebViewClient extends WebViewClient {
    @Override
    public boolean shouldOverrideUrlLoading(WebView view, String url) {
        if (url.endsWith(".3gp")) {
            Intent intent = new Intent("android.intent.action.VIEW", Uri.parse(url));
            view.getContext().startActivity(intent);
            return true;
        } else {
            return super.shouldOverrideUrlLoading(view, url);
        }
    }
}
</code></pre>

<p>but video not appear on screen and also not play. please suggest me what should i do...</p>
