HTML 5 Video not working on IE9

15,878

Solution 1

Some versions of IE9 require an absolute path to the video file for some reason.

For example:

<video poster="big_buck_bunny/poster.jpg" controls>
  <source src="http://www.example.com/big_buck_bunny/trailer.mp4" type="video/mp4" >
  <source src="http://www.example.com/big_buck_bunny/trailer.webm" type="video/webm">
</video>

Solution 2

The MIME type returned by the server is also quite important as Jason Dorell said.

I was using <video> tag on a website and while writing it in localhost everything worked perfectly. Once uploaded into the server, the <video> stopped working only in IE (Firefox and Chrome still worked fine).

After digging a bit into it, I simply added AddType video/mp4 .mp4 into the .htaccess file and that solved the problem.

Solution 3

the problem maybe the type of file try with this:

<video poster="big_buck_bunny/poster.jpg" controls>
  <source src="big_buck_bunny/trailer.mp4" type="video/mp4" >
  <source src="big_buck_bunny/trailer.ogg" type="video/ogg" >
  <source src="big_buck_bunny/trailer.webm" type="video/webm">
</video>

big_buck_bunny/trailer.* is your video

Solution 4

Make sure the content type being returned from the server is "video/mp4"

Solution 5

If it's still not working here's what may certainly be a solution: encode the mp4 with compression format H.264. If you encode it with format mpeg4 or divx or else it will not work on IE9 and may as well crash Google Chrome. To do that, I use Any Video Converter freeware. But it could be done with any good video tool out there.

I've been trying all solutions listed here and tried other workaround for days but the problem lied in the way I created my mp4. IE9 does not decode other format than H.264.

Hope this helps, Jimmy

Share:
15,878
Jitendra Vyas
Author by

Jitendra Vyas

Hi, I am Jitendra a front-end developer from India specializing in web standards, accessibility, and usability based development.

Updated on June 04, 2022

Comments

  • Jitendra Vyas
    Jitendra Vyas almost 2 years

    Why video on this page and this page working in all browser but not in Microsoft Internet explorer 9?

    Any fix for it?

    This video is not playing on My IE 9.0.8112.16421

    My OS is Windows 7 64 bit

    enter image description here

  • Bucket
    Bucket over 12 years
    I was trying to get flv files playing in IE9 using SVG and the google SVGWeb project. Which is what started me looking at this whole HTML5 video thing. The KB968212 download fixed my flv playback issue so i'm no longer looking for a fix for HTML5 video in IE9.