Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

MP3 Sound is not playing in my html5 game

ehab_a_
Beginner
425 Views

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?

 

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
425 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
Reply