HTML video tag autoplay in Safari without user interaction

旧街凉风 提交于 2019-12-24 21:35:26

问题


I have autoplay in the video tag, but it still requires mousing over it. From what I read it's because it requires user interaction to play the video, so users won't be annoyed by videos playing without their consent. Is there a way to get around that or fake the event well enough to fool the browser?


回答1:


No. And if there was a way to fool it, Apple would just close that loophole on the next release.



来源:https://stackoverflow.com/questions/47515799/html-video-tag-autoplay-in-safari-without-user-interaction

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