quick tip: open web video and mime types

by Christopher Blizzard

A quick note if you’re going to be using OGG open web video hosted on web servers.  There’s an important configuration change that you should make so that Firefox recognizes it as video.  In my Apache configuration I’ve added this directive:

AddType application/ogg .ogg
AddType application/ogg .ogx
AddType video/ogg .ogv
AddType audio/ogg .oga

Most web servers are likely to return the mime type as “text/plain” which Mozilla will not show as video.  If you don’t set it, and it’s served up as text/plain then Firefox is likely to show either an error or endless buffering.  (Although I suspect that the endless buffering is actually a bug in our internal player and will likely be fixed.)

Update 1: This should have been video/ogg for .ogv, application/ogg for .ogg, and audio/ogg for .oga files.

Update 2: You should look at this post from Silvia for the correct information. Thanks, Frank.