Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
7 Views

MP3 Sound is not playing in my html5 game

Hello,

I have made a game with phaser ( latest phaser version), and i have been trying to export it to mobile, I have sound effects ( in wav format ) and a background music ( in mp3 format), now the sound effects work fine, however the background music is not working at all ( both in emulator and in test ) ? 

The sounds are loaded using the loader class in Phaser library 

notice that i don't use any cardova plugin for playing media

Is this a problem?, or intel xdk does not support mp3 format? and what should i do in that case?

 

Tags (2)
0 Kudos
1 Reply
Highlighted
7 Views

MP3 files are not supported in the Simulate tab. See the Simulate tab limitations in the documentation.

The Intel XDK creates a standard Cordova app (aka PhoneGap app). If you search the web for something like "cordova background music" you might find some solutions.

0 Kudos