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

306 views
Skip to first unread message

ken...@nordahl.me

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

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: http://nordahl.me/examples/video/index.html

Philip Jägenstedt

unread,
Jul 19, 2010, 4:43:14 AM7/19/10
to webm-d...@webmproject.org

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
Forward
0 new messages