Is mime-type decleration needed on Apache servers for WebM?

Skip to first unread message

Jul 18, 2010, 1:02:06 AM7/18/10
to WebM Discussion

I used the the Miro Video Converter to encode a .webm file from my
source file. I created a HTML5 document with both a H.264 and the WebM
file as the source. When I open the HTML document locally in
Firefox4 / Opera 10.60 the video starts playing just fine but when I
try to play the video from my host it doesn't work.

I then added "AddType video/webm webm" to the .htaccess file and it
now seams to work just fine. Is that something we have to do to every
host untill WebM files becomes a common file type, or does it just
relate to my hosting?

Test url:

Philip Jägenstedt

Jul 19, 2010, 4:43:14 AM7/19/10

Yes, all browsers enforce the MIME type, so it must be set to video/webm,
manually until it becomes a default shipped with Apache.

Philip Jägenstedt
Core Developer
Opera Software

Reply all
Reply to author
0 new messages