ankur nehra
ankur nehra

Reputation: 54

Html 5 video tag is not working in IE7 and IE8

Hello i am working on html5 and use video tag of html5 to play video. It is correctly working on all browser except IE7 and IE8.On these two version of IE it is not working. Then i follow steps given on this link http://html5media.info/ but i can't me. so please help me regarding this.

Upvotes: 0

Views: 11493

Answers (2)

Manoj Dobbala
Manoj Dobbala

Reputation: 1

Use the embed tag for video tag to work in ie8 and below.

`

<video width="320" height="240" controls>
     <source src="http://www.w3schools.com/html/movie.mp4" type="video/mp4">
     <source src="http://www.w3schools.com/html/movie.ogg" type="video/ogg">
     <param name="wmode" value="opaque" />
  ** <embed src="http://www.w3schools.com/html/movie.mp4" wmode="opaque">
         <param name="wmode" value="opaque" />
     </embed>**
  Your browser does not support the video tag.
</video>

`

Upvotes: 0

Mohan Kanakala
Mohan Kanakala

Reputation: 1160

you can use the html5media library to use video tag of html5. It is a javascript library. Use the below tag in your page.

<script src="http://api.html5media.info/1.1.6/html5media.min.js"></script>

Upvotes: 5

Related Questions