Click here to Skip to main content
15,886,753 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

XML
<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.
</video>




but video not Runing..
Posted
Updated 31-Jul-13 0:28am
v3
Comments
[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. http://caniuse.com/#search=video[^]
 
Share this answer
 
Comments
My +5... :)
meranaamshahul 1-Aug-13 0:48am    
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="160" height="136" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="your-filename.mov">
<param name="autoplay" value="true">
<param name="controller" value="true">
<param name="loop" value="false">
<embed src="your-filename.mov" width="160" height="136" autoplay="true" controller="true" loop="false" pluginspage="http://www.apple.com/quicktime/">
</embed></object><br>
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[^].
Quote:
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
 
Comments
_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