您的位置:首页 > Web前端 > JavaScript

video.js播放视频

2016-09-23 18:30 387 查看
<!DOCTYPE html>

<html>

<head>
<meta charset="UTF-8">
<title></title>
<script src="http://vjs.zencdn.net/5-unsafe/video.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="https://vjs.zencdn.net/5-unsafe/video-js.css"/>
</head>

<body>
<video autoplay="autoplay" class='video-js vjs-default-skin' webkit-playsinline controls='controls' style="height: 500px;" height='100%' id='play_video' poster="" time="1027" seq="1" lesson_count="" data-setup='{"example_option":true,"customControlsOnMobile":
true}' preload='none' width="655">
<!-- 如果浏览器不兼容HTML5则使用flash播放 -->
<source src="http://vjs.zencdn.net/v/oceans.mp4" type="video/mp4" />
</video>
</body>

</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: