I
I
Imran Guseynov2014-02-05 14:42:36
Android
Imran Guseynov, 2014-02-05 14:42:36

Why doesn't WebView play video?

mWebView.loadUrl("file:///android_asset/www/index.html");

Index.html says:
<iframe style="width: 100%; height: 100%;" frameborder="0" height="512" scrolling="no" src="http://www.ustream.tv/embed/13621638?v=3&amp;wmode=direct" style="border: 0px none transparent;" width="640"></iframe>

Everything loads fine except for the video.
If this index.html is opened in a browser, then everything is fine.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikolai Vasilchuk, 2014-02-05
@Anonym

Well, it's Flash. And there is no flash in android.

F
FoxInSox, 2014-02-08
@FoxInSox

1. In the manifest property of the activity hardwareAccelerated=true?
2. Is WebSettings js enabled?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question