Chrome audio error Uncaught (in promise) DOMException: play() failed because

Chrome audio inexplicable error

Reason: Chrome's autoplay policy was changed in April 2018.

Solution:

The first step, enter in the chrome browser: chrome://flags/#autoplay-policy

The second step is to change Default to No user gesture is required in Autoplay policy

The third step, restart Chrome

If you can't find it, it means that the chrome browser has been upgraded!
this place
Click this place to see the sound switch!
If you still don't have it, click the webpage settings below!

Guess you like

Origin blog.csdn.net/bgp_halt_here/article/details/105491366