原文:google浏览器网页第一次加载时不能播放声音问题 Uncaught (in promise) DOMException: play() failed because

https: gamedev.stackexchange.com questions html games play failed because the user didnt interact with the document fi Google states: Autoplay with sound is allowed if: User has interacted with the do ...

2019-06-04 18:44 1 2468 推荐指数:

查看详情

谷歌浏览器某些版本不能自动播放声音处理方案

低版本的谷歌浏览器需要实现语音告警功能,但是在低版本下,不能进行播放。高版本可以。经过查询,发现网上的解决方案修改chrome://flags/#autoplay-policy都是不可行的,因为有一些版本已经找不到这个配置项的,没办法进行修改。 经过发现,其实audio是有渲染出来,但实际 ...

Fri Sep 25 17:30:00 CST 2020 4 1557
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM