use video/webm instead of audio/webm for webm
authorJan Gerber <jgerber@wikimedia.org>
Fri, 28 Dec 2012 16:02:36 +0000 (16:02 +0000)
committerJan Gerber <jgerber@wikimedia.org>
Fri, 28 Dec 2012 16:05:24 +0000 (16:05 +0000)
commit86aafd292ca9e033cc482c791834c321195b9095
treec7afaedfdd980fa1cd3f0df24aafc2327a08544b
parent0086df3c586cf192d51e10d6e4fb860ee2b743a4
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