Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

HTML Video does not display correctly in internet explorer

$
0
0

I have a video tag as follows

<videocontrols="controls"><sourcesrc="video1.mp4"type="video/mp4"><sourcesrc="video1.ogg"type="video/ogg"><sourcesrc="video1.webm"type="video/webm"></video>

I'm using following doc type

<!DOCTYPE html>

Video is displaying and playing correctly in Firefox and Chrome. But not in Internet Explorer. (checked in IE 9,10 and 11)

In IE it says "Invalid Source"

I have also added .htaccess file to the root with following contents.

AddType video/ogg .ogvAddType video/mp4 .mp4AddType video/webm .webm     

Additionally I'm using following meta tags

<meta http-equiv="x-ua-compatible" content="IE=9,chrome=1" >

Does anyone have an idea what's wrong?

Thanks


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>