[r91] Music File not loading in Firefox

Bugs will be moved here once resolved.

Post » Wed May 30, 2012 1:10 am

http://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 http://incendiat.com/audcheck/media/rhythmgfl5.ogg failed.
Source File: http://incendiat.com/audcheck/
Line: 0

I've checked and the file does exist in my directory:

http://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?
B
3
Posts: 1
Reputation: 327

Post » Wed May 30, 2012 1:53 am

try to put this .htaccess in the same folder as your index.html (your game)

content of .htaccess is something like this:
[code]AddType audio/mp4 .m4a
AddType video/mp4 .mp4
AddType audio/ogg .ogg
[/code]

from:
http://www.scirra.com/manual/84/sounds-music/page-1

hopefully that will work....Potato2012-05-30 01:54:06
B
34
S
13
G
8
Posts: 134
Reputation: 8,118

Post » Wed May 30, 2012 3:05 am

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.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Thu May 31, 2012 2:59 pm

Closing since it looks like a MIME type problem with the server. The correct MIME type for .ogg is audio/ogg, not text/html.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests