1
I made a java browser for Android using webviews
, it works perfectly except for the fact that it does not play videos via stream. I want to know how do I make it possible? Thank you..
1
I made a java browser for Android using webviews
, it works perfectly except for the fact that it does not play videos via stream. I want to know how do I make it possible? Thank you..
0
Try this :
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.setWebChromeClient(new WebChromeClient());
mWebView.getSettings().setPluginState(WebSettings.PluginState.ON);
Take a look also at the following documentation :
https://developer.android.com/reference/android/webkit/WebViewClient.html
https://developer.android.com/reference/android/webkit/WebView.html
You can also get an example of Webview ready now :
The project VideoEnabledWebView
seems not to support the html5
, in fact, there is not much to do, are very limited the sites/ urls that work via webview
for the reproduction of videos via stream.
Browser other questions tagged java android webview
You are not signed in. Login or sign up in order to post.
What kind of stream are you trying to play? Via
http://
orrtmp://
? It would be good if you provide more details by improving your question by editing it.– Florida