![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Firefox 17.0.1 does not play .ogg files in <audio> even if MIME type is configured on server
I've put a .ogg source in an <audio> tag like so:
<audio controls preload> <source src="iphone.ogg"></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
Upravil uživatel cperryk dne
Všechny odpovědi (6)
Upravil uživatel cperryk dne
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
Thank you, madperson. But starting in safemode did not solve the problem for me.
Does that ogg file play if you open the file via the location bar?
No, it does not. When I access the audio file directly, I see a player but the audio never loads.
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