dl.dropbox.com/u/17721365/audiocheck.capx
My music file is not playing in Firefox, although I've been successful with Chrome.
I'm getting this in the Firefox browser error log:
Warning: HTTP "Content-Type" of "text/html" is not supported. Load of media resource incendiat.com/audcheck/media/rhythmgfl5.ogg failed.
Source File: incendiat.com/audcheck
Line: 0
I've checked and the file does exist in my directory:
incendiat.com/audcheck/media/rhythmgfl5.ogg
and I've tried creating my own ogg to supplement the converter ogg - still no dice.
Any idea what I'm doing wrong?
Develop games in your browser. Powerful, performant & highly capable.
try to put this .htaccess in the same folder as your index.html (your game)
content of .htaccess is something like this:
AddType audio/mp4 .m4a AddType video/mp4 .mp4 AddType audio/ogg .ogg
from:
http://www.scirra.com/manual/84/sounds-music/page-1
hopefully that will work....
Also, not related to your issue, but r92 was released a couple of days ago, you might want to stick to the newer version.
Potato's solution should do the trick though, it appears as an issue in the way the webserver is setted.
Closing since it looks like a MIME type problem with the server. The correct MIME type for .ogg is audio/ogg, not text/html.