视频没有在IE8中运行 [英] Video not Runing in IE8

查看:79
本文介绍了视频没有在IE8中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Internet Explorer 8中运行视频,

i使用的Html编码如



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









但是视频没有跑步..





but video not Runing..

推荐答案

您使用IE8中不支持的HTML5标记视频。



在此链接中查看哪些浏览器支持视频标签。 http://caniuse.com/#search=video [ ^ ]
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[^]


我同意 _tasos 因为IE8不支持它。



但昨天我开始了解一个名为 html5shiv [ ^ ]。

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[^].
引用:

HTML5 Shiv支持在旧版Internet Explorer中使用HTML5分区元素,并为Internet Explorer提供基本的HTML5样式6-9,Safari 4.x(和iPhone 3.x),以及Firefox 3.x。

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.



所以,你可以试试 htmlshiv

只需在页面中包含该文件并尝试使用视频标记即可。



祝你好运。


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

Good Luck.


这篇关于视频没有在IE8中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆