- Sound is playing in my game.
- I switched tab on crome or safari
- Sound stop playing
- I came back to game tab sound did not come even after bringing focus on game
What do you see for game.debug.sound(…)
? E.g. https://codepen.io/samme/pen/PELLvm
Hi, I have the same problem. Did you find any solution??
No, I have not found solution yet.
I don’t know if you still have this, but I got this problem using cordova and wkwebview.
I found that my audio was being suspended or interrupted.
The following seemed to fix it for me
if (game.sound.context.state === ‘suspended’ || game.sound.context.state === ‘interrupted’ ){
game.sound.context.resume();
}