Summary: does rocket serve ogg mime type or do I need to add it in?

Background: I'm trying to get html5 audio to work with Firefox 10.0.2.
Firefox will only read ogg files. I generate the requisite ogg file
but Firefox won't load it properly. When the page refreshes, the audio
player will appear momentarily and then disappear and be replaced by
an X.

Various netizens have had a similar problem and it seems to point to
an issue with the server not supporting the proper ogg mime type.
(http://css-tricks.com/forums/discussion/11203/html5-audio-element-not-
working-in-firefox./p1 for example.) I've modified the download
function for the ogg file so that it has the right content-type
header. But where do I go to check that the ogg mime type is supported
by the web server? I'm using the standard rocket server that comes
with web2py.

Curiously, Chrome is able to play the ogg audio with no problems (as
well as mp3 audio). IE playes the mp3 just fine. It's only Firefox and
ogg that's an issue.

Anybody know whether I'm on the right track ... looking at the web2py
server mime types? Or do you think it's something else?

Reply via email to