We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. mac chrome v70
The text was updated successfully, but these errors were encountered:
我搜到的结果
Chrome的autoplay政策在2018年4月做了更改。
新的行为:浏览器为了提高用户体验,减少数据消耗,现在都在遵循autoplay政策,Chrome的autoplay 政策非常简单
解决方案:
Open chrome://flags/#autoplay-policy Setting No user gesture is required Relaunch Chrome
回头我尝试一下,页面加载完成之后,再播放声音,这样应该没有这个错误。
Sorry, something went wrong.
@icaca 我测试了一下,果真是要设置允许自动播放然后,就不报错了。
https://stackoverflow.com/questions/51041580/muted-autoplay-video-shows-error-play-failed-because-the-user-didnt-interact
No branches or pull requests
Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first.
mac chrome v70
The text was updated successfully, but these errors were encountered: