Skip to content
Browse files

added ogv mime type so that firefox can read theora videos using the …

…html5 <video> tag
  • Loading branch information...
1 parent 1785a44 commit 162563d04224cf8b9e57a3d15f13b0dbb04fde33 @patcito patcito committed with manveru Jul 30, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/rack/mime.rb
View
1 lib/rack/mime.rb
@@ -126,6 +126,7 @@ def mime_type(ext, fallback='application/octet-stream')
".ods" => "application/vnd.oasis.opendocument.spreadsheet",
".odt" => "application/vnd.oasis.opendocument.text",
".ogg" => "application/ogg",
+ ".ogv" => "video/ogg",
".p" => "text/x-pascal",
".pas" => "text/x-pascal",
".pbm" => "image/x-portable-bitmap",

0 comments on commit 162563d

Please sign in to comment.
Something went wrong with that request. Please try again.