Note that there are some explanatory texts on larger screens.

plurals
  1. POPlay html5 video inside webview doesn't work
    primarykey
    data
    text
    <p>I have a web that supposed to play an embedded html5 video inside it. the problem is that in samsung galaxy s4 the video does not play but in nexus 4 it does (android version is 4.2.2 in both).</p> <p>i added <code>android:hardwareAccelerated="true"</code> to the manifest in the activity.</p> <p>the web view settings are:</p> <pre><code>WebSettings webSettings = webview.getSettings(); webSettings.setPluginState(PluginState.ON); webSettings.setJavaScriptEnabled(true); webSettings.setAllowFileAccess(true); webSettings.setLoadWithOverviewMode(false); // zoom y/n webSettings.setUseWideViewPort(false); // true = like desktop webSettings.setPluginsEnabled(true); webSettings.setBuiltInZoomControls(false); webSettings.setDatabaseEnabled(true); webSettings.setGeolocationEnabled(true); webSettings.setJavaScriptCanOpenWindowsAutomatically(true); webSettings.setDomStorageEnabled(true); </code></pre> <p>and the html5 code is:</p> <pre><code>mDataHtml = "&lt;!DOCTYPE HTML&gt; " + "&lt;html xmlns=\"http://www.w3.org/1999/xhtml\" &gt; " + "&lt;head&gt;" + "&lt;/head&gt; " + "&lt;body style=\"margin:0 0 0 0; padding:0 0 0 0; background-color:#343434;\"&gt; " + "&lt;iframe src=\"http://www.dailymotion.com/embed/video/" + mVid + "\" width=\"" + "100%25" + "\" height=\"" + "100%25" + "\" frameborder=\"0\"background-color:\"#343434\"&gt;" + "&lt;/iframe&gt; " + "&lt;/body&gt; " + "&lt;/html&gt; "; </code></pre> <p>I could not find any help to my issue when i searched for that. your help is much needed. thank's in advance. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload