HTML Video does not display correctly in internet explorer


  • I have a video tag as follows

    <video  controls="controls"  >                            
     <source src="video1.mp4" type="video/mp4" > 
     <source src="video1.ogg" type="video/ogg">
     <source src="video1.webm" type="video/webm">

    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 .ogv
    AddType video/mp4 .mp4
    AddType 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?


    Saturday, December 07, 2013 4:15 PM


All replies