Closed vsariola closed 5 years ago
Chrome nowadays prevents AudioContext from starting before any user gesture. Solution is to wait for a click and only then resume the audio.
See for example: https://forum.yoyogames.com/index.php?threads/audio-doesnt-work-anymore-in-chrome-the-audiocontext-was-not-allowed-to-start.46987/
Great fix!
Chrome nowadays prevents AudioContext from starting before any user gesture. Solution is to wait for a click and only then resume the audio.
See for example: https://forum.yoyogames.com/index.php?threads/audio-doesnt-work-anymore-in-chrome-the-audiocontext-was-not-allowed-to-start.46987/