video.js html5 视频播放器

 1 我个人感觉很不错
 2 https://github.com/videojs/video.js
 3 <head>
 4   <title>Video.js | HTML5 Video Player</title>
 5 
 6   <!-- Chang URLs to wherever Video.js files will be hosted -->
 7   <link href="video-js.css" rel="stylesheet" type="text/css">
 8   <!-- video.js must be in the <head> for older IEs to work. -->
 9   <script src="video.js"></script>
10 
11   <!-- Unless using the CDN hosted version, update the URL to the Flash SWF -->
12   <script>
13     videojs.options.flash.swf = "video-js.swf";
14   </script>
15 
16 
17 </head>
18 <body>
19 
20   <video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="640" height="264"
21       poster="http://video-js.zencoder.com/oceans-clip.png"
22       data-setup="{}">
23     <source src="zjtest.mp4" type='video/mp4' />
24   </video>
25 
26 </body>
27 </html>

 

posted @ 2013-08-16 11:56  尹少爷  阅读(2196)  评论(0编辑  收藏  举报