Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading mp3 files on Firefox Fails #231

Open
FattusMannus opened this issue Oct 24, 2013 · 3 comments
Open

Loading mp3 files on Firefox Fails #231

FattusMannus opened this issue Oct 24, 2013 · 3 comments

Comments

@FattusMannus
Copy link

using:

game.load("sound.mp3", function(){ console.log("LOADED"); });

or

game.preload("sound.mp3");

fail on some platforms running Firefox 24.

Works on Windows, fails on Mac and Firefox OS.

The problem is that if you have it in your preload, the game never starts. There are no errors, just hangs loading.
With the game.load() call, the callback is never fired.

@kumabook
Copy link
Contributor

I met the problem too.
I think this problem is due to Firefox.
Because it seems that XMLHttpRequest for *.mp3 don't work correctly.
xhr.onerror(error) is called, but the error arg is undefined.
By the way, *.wav are loaded correctly.
I decided to use *.wav file instread of *.mp3

@mithat
Copy link

mithat commented Mar 12, 2014

I am experiencing this problem on Windows and Linux, with both *.mp3 and *.wav files. Firefox 27.0.1 on both; Windows 7 and aptosid Linux (Debian sid derivative). In all four cases, the load bar refuses to go to full.

@EmeraldCoder
Copy link

I am experiencing this problem with both .mp3 and .wav on Firefox 29.0 on Windows 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants