I am having an issue with Android 4.0.3's native mobile browser inability to play the suggested embed code from YouTube,

<iframe width="560" height="315" src="//www.youtube.com/embed/mEvvc80ZYU8" frameborder="0" allowfullscreen></iframe>

Safari mobile, Chrome mobile on iOS works as expected. Chrome mobile on Android is working as expected. Android's native browser on tablet, plays the iframe as expected.

没有正确的解决方案

其他提示

Add http protocol:

src="//www.youtube... to src="http://www.youtube...

It sounds weird but in my case, just add

webview.setWebChromeClient(new WebChromeClient());

somewhere before loadUrl() and it works.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top