Umesh Patil
Umesh Patil

Reputation: 10685

HTML Video Tag in Internet explorer

Does HTML video tag works in IE browser. I have a little demo here. Its working in Firefox. I need to make it work in Internet Explorer as well.

<div class="content flowplayer is-splash is-closeable" id="vid1">
    <video id="mainVideo" src="http://www.w3schools.com/html/movie.webm" tabindex="0">    
    <source type="video/mp4" src="http://www.w3schools.com/html/movie.mp4"></source>
    <source type="video/webm" src="http://www.w3schools.com/html/movie.webm"></source>
</video>    
</div>

Do you have any suggestion ?

Upvotes: 0

Views: 1092

Answers (3)

mat
mat

Reputation: 1629

Webm should play in Iexplorer 9 and higher. It won't work in older Iexplorer versions, unless you use Google Chrome Frame (or anything simular). Another option is to use Flash as a fallback option.

If that's not the issue, some servers need an .htaccess file to play video's online. The htaccess file should contain:

AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm

If that's not the issue, check if the Webm is alright. You could use Miro Video Converter It's free fast and good.

Upvotes: 2

kolin
kolin

Reputation: 2344

you could potentially look at http://www.flowplayer.org as an alternative, native support, but then falls back based on browser and version

Upvotes: 1

Karthik Chintala
Karthik Chintala

Reputation: 5545

You need Google Chrome Frame to work in IE 6,7,8

For IE9 you need WebM support

Check this out

Upvotes: 1

Related Questions