Recently our developers are developing an HTML5 site with video content (MP4 videos). When doing development and debugging on developer’s workstation, the site worked perfectly well. But after deploying the site to IIS 7.5, issues kept coming out:
1) MP4 video was not showed on the page using any browsers.
After some investigations, it was MIME type missing issue. Have to add the MIME type for MP4.
After this, a new issue came up.
2) The HTML5 video tag is not working in IE10 while it works perfectly in Chrome and Firefox.
After some Bing/Google, we found out it is the IE10 docmode issue. Since our IIS test server is in intranet, IE 10 displays the intranet site in Compatibility View by default. This option in IE settings needs to be unchecked. There is an article on MSDN for explaining the IE docmode issue. And some good solutions on Stackoverflow.