1

我在我的网站上嵌入了一个运行良好的视频,但是当我插入 preload="none" 时问题就开始了

<video width="314" height="182" controls="controls" preload="none" poster="http://www.tsbagroup.com/ShopCentral/Media/CorpGiftMenu/corpGiftsVideo.jpg">
<source src="http://www.tsbagroup.com/ShopCentral/Media/CorpGiftMenu/corpGiftsVideo.m4v" type="video/mp4" />
<source src="http://www.tsbagroup.com/ShopCentral/Media/CorpGiftMenu/corpGiftsVideo.webm" type="video/webm" />
<source src="http://www.tsbagroup.com/ShopCentral/Media/CorpGiftMenu/corpGiftsVideo.ogv" type="video/ogg" /> 
</video>

然后,当我在 IE8 上浏览我的网站时,视频消失了。除了Flash Player,还有什么其他工具可以用于IE8?

4

2 回答 2

2

因为不支持 Preload=“none” 适当性,如W3Schools所示。对于后备,您需要使用一些 js... 好的插件是http://www.videojs.com/!或者试试这个生成器:http: //v4e.thewikies.com/ 我希望它有帮助!

于 2013-11-11T08:52:13.787 回答
0

Internet Explorer 8 does not support <video> at all, let alone the preload attribute.

Have a look at using MediaElement.js. It's a a script which uses HTML5 <video> if support is available, falling back to Flash or Silverlight players if it's not. It should work fine with the HTML code you've posted above.

于 2013-11-11T09:38:20.827 回答