HTML5 - sounds not working any more in Chrome

The AudioContext was not allowed to start. It must be resume (or created) after a user gesture on the page. https://goo.gl/7K7WLu

6 Likes

Do you know how other game engines solve it? Or do they?

Phaser CE has it fixed in 2.10.2 - https://github.com/photonstorm/phaser-ce/blob/master/CHANGELOG.md

I believe it’s here - https://raw.githubusercontent.com/photonstorm/phaser-ce/98d49c4bd7d2cda5d7753eab7bb16ca53dded16c/src/sound/SoundManager.js

3 Likes

hot fix something like that:

sound.context.resume()

2 Likes