Click here to Skip to main content
15,666,844 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to run videos in Internet Explorer 8,
i used Html coding like

<video width="320" height="240" controls="controls" autoplay="true">
  <source src="Sample.mp4" type="video/mp4">
  <source src="Sample.ogg" type="video/ogg">
  <source src="Sample.webm" type="video/webm">
Your browser does not support the video tag.

but video not Runing..
Updated 31-Jul-13 0:28am
[no name] 31-Jul-13 5:48am    
Improve your question and provide complete details.

You use the HTML5 tag video which is not supported in IE8.

See in this link which browsers support the video tag.[^]
Share this answer
My +5... :)
meranaamshahul 1-Aug-13 0:48am    
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="160" height="136" codebase="">
<param name="src" value="">
<param name="autoplay" value="true">
<param name="controller" value="true">
<param name="loop" value="false">
<embed src="" width="160" height="136" autoplay="true" controller="true" loop="false" pluginspage="">
i need some solution with the above code
What is the problem here with this code? Is this for flash?
_tasos 1-Aug-13 5:02am    
You need to try a flash video player such as JW player or Flow player. Check their website for code samples.
I agree with _tasos for the fact that it will not be supported with IE8.

But yesterday I came to know about a workaround called html5shiv[^].
The HTML5 Shiv enables use of HTML5 sectioning elements in legacy Internet Explorer and provides basic HTML5 styling for Internet Explorer 6-9, Safari 4.x (and iPhone 3.x), and Firefox 3.x.

So, you can try with htmlshiv.
Just include the file in your page and try the video tag, it may work.

Good Luck.
Share this answer
_tasos 1-Aug-13 5:05am    
IE8 lacks the support for video playback, the html5shiv script helps only halfway.
Oh... I guess you tested it. Thanks... :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900