Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Chrome 71 event when Chrome autoplay restriction blocks sound #1070
Regarding the upcoming Chrome 71 changes to the autoplay policy, I'm still looking for a way to make Howler tell me when the sound failed to play.
I'm on Chrome 70, but getting 71 behavior by starting up Chrome like this:
$ /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-features=AutoplayIgnoreWebAudio
Here's the behavior:
I've seen the instructions here, but they don't help because
Is there any way to catch the fact that the sound didn't play? Do I need to have onunlock() set a value somewhere, then poll that to check if it was never set?