Javascript videojs插件版本4.1.0不适用于ie8及以下版本
下面的代码在chrome/firefox/ie9/ie10上运行良好 这不适用于ie8及以下版本。根据插件,flash的回退应该可以工作Javascript videojs插件版本4.1.0不适用于ie8及以下版本,javascript,jquery,Javascript,Jquery,下面的代码在chrome/firefox/ie9/ie10上运行良好 这不适用于ie8及以下版本。根据插件,flash的回退应该可以工作 <!DOCTYPE html> <html> <head> <title>Video.js | HTML5 Video Player</title> <!-- Chang URLs to wherever Video.js files will be ho
<!DOCTYPE html>
<html>
<head>
<title>Video.js | HTML5 Video Player</title>
<!-- Chang URLs to wherever Video.js files will be hosted -->
<link href="video-js.css" rel="stylesheet" type="text/css">
<!-- video.js must be in the <head> for older IEs to work. -->
<script src="video.js"></script>
<!-- Unless using the CDN hosted version, update the URL to the Flash SWF -->
<script>
videojs.options.flash.swf = "http://dl.dropboxusercontent.com/u/10414458/video-js.swf";
</script>
</head>
<body>
<video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="640" height="360"
poster="poster.png" data-setup='{ "controls": true, "autoplay": true, "preload": "auto" }'>
<source src="demo.mp4" type='video/mp4' />
</video>
</body>
</html>
Video.js | HTML5视频播放器
videojs.options.flash.swf=”http://dl.dropboxusercontent.com/u/10414458/video-js.swf";
有人帮我解决这个问题谢谢。对不起,
我在没有任何服务器的情况下在本地运行这段代码,所以插件没有按预期工作。
当我把同样的代码放在服务器上时,它就像Gem:):)你先帮我们怎么样?检查你的错误控制台和其他你应该做的事情,尝试并修复你自己的问题,并在此发布你的发现。控制台中没有错误。对不起。根据插件,它应该自己添加和对象标记并加载swf文件。