Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

Firefox 17.0.1 does not play .ogg files in <audio> even if MIME type is configured on server

  • 6 răspunsuri
  • 8 au această problemă
  • 2 vizualizări
  • Ultimul răspuns de Trurl

more options

I've put a .ogg source in an <audio> tag like so:

           <audio controls preload>
               &#060source src="iphone.ogg"&#062</source>
               Your browser does not support this
           </audio>

Following some guidance I found online, I also put a .htaccess file in the /firefoxbug folder to set the MIME types:

AddType audio/ogg .oga

AddType video/ogg .ogv

AddType application/ogg .ogg


However, it doesn't work. The console does not show any errors except: "All candidate resources failed to load. Media load paused."

If you try this example from w3schools, I get a similar problem: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_audio_all

It doesn't work here either, and the console shows this, expectantly, for the mp3 file: "Specified 'type' attribute of 'audio/mpeg' is not supported. Load of media resource horse.mp3 failed."

But here, too, there's no specific error that explains why the ogg isn't loading. It simply says, again, "All candidate resources failed to load. Media load paused."

Edit: Safe mode did not help. Neither did reinstallation. I do not experience this issue with Firefox 18.0

I've put a .ogg source in an <audio> tag like so: <audio controls preload> &#060source src="iphone.ogg"&#062</source> Your browser does not support this </audio> Following some guidance I found online, I also put a .htaccess file in the /firefoxbug folder to set the MIME types: AddType audio/ogg .oga AddType video/ogg .ogv AddType application/ogg .ogg However, it doesn't work. The console does not show any errors except: "All candidate resources failed to load. Media load paused." If you try this example from w3schools, I get a similar problem: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_audio_all It doesn't work here either, and the console shows this, expectantly, for the mp3 file: "Specified 'type' attribute of 'audio/mpeg' is not supported. Load of media resource horse.mp3 failed." But here, too, there's no specific error that explains why the ogg isn't loading. It simply says, again, "All candidate resources failed to load. Media load paused." Edit: Safe mode did not help. Neither did reinstallation. I do not experience this issue with Firefox 18.0

Modificat în de cperryk

Toate răspunsurile (6)

more options

Modificat în de cperryk

more options

hello cperryk, the demo you posted works fine for me in firefox 17 & 19. can you try to replicate the bug you're seeing when you launch firefox in safe mode once? if not, maybe an addon is interfering & blocking content here...

Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems

more options

Thank you, madperson. But starting in safemode did not solve the problem for me.

more options

Does that ogg file play if you open the file via the location bar?

more options

No, it does not. When I access the audio file directly, I see a player but the audio never loads.

more options

It's real bug. If sample rate of ogg stream is same as sample rate of audio device you will have silence. Possible to just change sample rate of audio device (last tab in device properties) to 48000Hz. It's not popular rate for web, most files will be playing fine