Internet Explorer 7, 8 (IE 7, 8) HTML-5 Video tag support: Play your video in a tricky way.
December 30, 2010 2 Comments
HTML-5 is resourceful in many ways but most of the browsers don’t support it. You may know that IE 8 and IE-7 doesn’t support HTML-5 <video> tag. But I have got a solution to play video file (ogv format) in a tricky way. The process is tricky but not too much smart. I have given the code below.
Just copy the given code and paste it in your notepad and save it as HTML file. Now run the HTML file you will get the result. If you use Mozilla Firefox 3.6.13 (or later) you will get the accurate result. I have given below the images which I have tested on my pc using IE-8 and Mozilla Firefox 3.6.13 browser.
Here is the code:
<title> HTML5 Video</title>
<video width=”360″ height=”240″ poster=”https://allaboutbasic.files.wordpress.com/2010/12/html5-video-tag-on-ie-8.png” controls=”controls”>
<source src=”http://www.w3schools.com/html5/movie.ogg” type=”video/ogg”>
<source src=”movie.mp4″ type=”video/mp4″>
Your browser does not support the video tag.
HTML-5 <video> tag on Mozilla Firefox 3.6.13
HTML-5 <video> tag on Internet Explorer 8 (IE 8)