Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML 5 Video not working on IE9

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

like image 636
Jitendra Vyas Avatar asked Dec 22 '22 12:12

Jitendra Vyas


1 Answers

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>
like image 147
Anthony Taylor Avatar answered Dec 28 '22 07:12

Anthony Taylor