I want to embed the following iframe to a webview (or if possible a videoview.)
<iframe SRC='http://desistreams.tv/embed/discovery_science.php' width='600' height='470' marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling='no'></iframe>
The problem that occurs is that the video does not start. (I just see a gray area with ads. I read a couple of articles before about iframe and embedding on stack overflow, but most of them are about embedding youtube videos in their app. I want to know if it's possible to use a videoview to show the iframe (or the src of it) or if i can do it with a webview.
wv.getSettings().setJavaScriptEnabled(true);
wv.getSettings().setBuiltInZoomControls(true);
if (Build.VERSION.SDK_INT < 8) {
wv.getSettings().setPluginsEnabled(true);
} else {
wv.getSettings().setPluginState(PluginState.ON);
}
i'm using loadhtml to load the iframe or even the direct link doesn't display but it works in my browser.