video.js html5 视频播放器
生活随笔
收集整理的這篇文章主要介紹了
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>
?
轉載于:https://www.cnblogs.com/zhangjun516/p/3261801.html
總結
以上是生活随笔為你收集整理的video.js html5 视频播放器的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: GDB调试程序实例演示
- 下一篇: poj1033