chrome運行JS報錯:Uncaught(in promise)DOMException:play()

首次在chrome頁面中加載播放功能時,會出現下面錯誤: Uncaught(in promise)DOMException:play() 解決方法,將chrome 的 autoplay-policy(播放政策)修改成 No user gesture is required,方法以下: 在chrome中輸入 chrome://flags/#autoplay-policy 將Default設置爲No
相關文章
相關標籤/搜索