From 86aafd292ca9e033cc482c791834c321195b9095 Mon Sep 17 00:00:00 2001 From: Jan Gerber Date: Fri, 28 Dec 2012 16:02:36 +0000 Subject: [PATCH] use video/webm instead of audio/webm for webm StreamFile::contentTypeFromPath via MimeMagic::guessTypesForExtension returns the first mime type for a given extension listed in includes/mime.types. This is used to set the mime type of files in SWIFT. While audio/webm is a valid mime type for .webm files, we only have videos with .webm right now. moving video/webm up to make it the default mime type. This fixes issues with players that will only show a video if type is video/webm: Bug 43476 Change-Id: Ib4868995a9b2f474e656ecc4b23a18201fbeb572 --- includes/mime.types | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/mime.types b/includes/mime.types index 5b64201f60..a89d229a72 100644 --- a/includes/mime.types +++ b/includes/mime.types @@ -65,6 +65,7 @@ audio/basic au snd audio/midi mid midi kar audio/mpeg mpga mp2 mp3 audio/ogg oga ogg spx +video/webm webm audio/webm webm audio/x-aiff aif aiff aifc audio/x-matroska mka mkv @@ -120,7 +121,6 @@ video/mpeg mpeg mpg mpe video/ogg ogv ogm ogg video/quicktime qt mov video/vnd.mpegurl mxu -video/webm webm video/x-flv flv video/x-matroska mkv mka video/x-msvideo avi -- 2.20.1