johndyer/mediaelement — pull request #537 by Seb33300 (2012-07-01 14:14:16+00:00)
Title: Better file MIME type detection when the "type" attribute is not specified

Better file MIME type detection when the "type" attribute is not specified on the or tag.

Before this patch, MIME type retrieved for files with .ogv extension was "video/ogv". => canPlayType() fails and mediaelement was not able to display the video while it should.

Now, MIME type retrieved for files with .ogv extension is correct : "video/ogg".

Same for .oga, .webmv, .webma, .m4v.