IE9 makes me CRAZY support it for HTML5 video, as I understand it, it supports the H.264 codec, so any files with the extension .mp4 at the end.
The problem is that it does not play video files with the extension .mp4.,.
This is even more unusual if I test it locally, IE9 will play mp4 video, it just does not play it on the server, it also has nothing to do with MIME types, I added the following MIME type for the server:
.mp4 - video.mp4
And on the network panel in the IE developer tools, listing it as "video / mp4", the only unusual thing is that the Network panel shows that IE is requesting it 3 times (I have no idea why this might be)
I am at the end of my cable, so I actually wrote the code below to try to fix it (I really hate using this on a live site, this is terrible):
<video controls="controls"> <source src="video.ogv" type='video/ogg; codecs="theora, vorbis"'/> <source src="video.mp4" type="video/mp4"> <p>flash video stuff is here</p> </video>
This fixes this by causing IE9 to use flash video for browsers that do not support HTML video (instead, by default, IE9 just seems like an empty field, no error message, nothing). Unfortunately, this decision is so terrible that I am almost ashamed to write it.
Does anyone know what could be causing this? Or how can I fix this?
EDIT: Not sure if this makes any difference, but I used http://www.freemake.com/free_video_converter/ to convert the files to the correct formats