Auto play audio without touching

When I start the game on my cell phone, the music doesn’t play until I touch the screen. How do I solve it?

1 Like

You cannot. This is an issue with mobile devices and the web API for audio playing. There was a warning on the wiki for that too I think.

I could fix it. When exporting to cordova and compiling with phonegap build, the error disappears.