Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 6 réponses
  • 8 ont ce problème
  • 3 vues
  • Dernière réponse par 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

Modifié le par cperryk

Toutes les réponses (6)

more options

Modifié le par 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