User gesture required to start playback in Android HTML5 player

前端 未结 2 1039
北海茫月
北海茫月 2021-01-18 10:38

I am using the HTML5 video tag on android and sometimes the chrome browser says it requires an explicit user gesture/click to start playback:

Failed t

2条回答
  •  我在风中等你
    2021-01-18 11:17

    As of January 24th, 2017

    HTML5 video tags can autoplay on android if the video is muted. You would need to include the muted and autoplay attributes in the tag to make it work as intended.

    Here is a link to the article: Autoplay on Chrome for Android as of version 53

提交回复
热议问题