原文: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