video.js html5 视频播放器

时间:2021-10-31 12:18:50
 我个人感觉很不错
https://github.com/videojs/video.js
<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 = "video-js.swf";
</script> </head>
<body> <video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="" height=""
poster="http://video-js.zencoder.com/oceans-clip.png"
data-setup="{}">
<source src="zjtest.mp4" type='video/mp4' />
</video> </body>
</html>