Youtube iframe player won't show videos in android 4.x WebView

99封情书 提交于 2019-11-29 10:23:09

I had the same problem, but after fighting with this long time, i didn't find a solution. I tested all the configurations with webview and did many different html changes to put the iframe.

After my researching i only can add:

  • In Android 4 versions, can't autoplay. The user has to press play button into the iframe to start play the video. Particularly:

    • In Android 4.1 it reproduces the audio but not the image.
    • In Android 4.3 i tested in devices which can reproduce audio but no video and devices that can't reproduce anything.
    • In Android 4.4 don't reproduce anything
  • From Android 5 and + everything works fine.

Good luck and I plus vote this question to know if anyone can put light into this question :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!