万企互联-专注高端网站建设
扫描关注万企互联微信公众账号

扫一扫微信二维码

简约精美的HTML5在线视频播放器插件

特效源码2022/3/8 420

一款简约精美的HTML5在线视频播放器插件,也相当大气,电脑手机端都适用。视频播放器内置有三种皮肤,可以自定义修改控制按钮的颜色、遮罩层透明度和视频封面等。

<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>简约精美的HTML5在线视频播放器插件</title>
<!--可无视-->
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/reset.css">
<!--布局样式,意义不大-->
<link rel="stylesheet" href="css/demo.css">
<!--核心样式-->
<link rel="stylesheet" href="dist/css/ckin.css">
</head>
<body>
<section class="demo-section demo-section--light" id="demo">
	<div class="container">
		<h2 class="title heading">Custom HTML5 Video Player with Ckins...</h2>
		<video poster="ckin.jpg" src="video.mp4" data-ckin="default" data-overlay="1" data-title="The curious case of Chameleon..."></video>
	</div>
</section>
<section class="demo-section demo-section--light" id="skins">
	<div class="container">
		<h2 class="title heading">Skins</h2>
		<ul class="demo-list">
			<li class="demo-list__item">
				<p>Default Ckin without overlay</p>
				<video poster="ckin.jpg" src="video.mp4" data-ckin="default"></video>
			</li>
			<li class="demo-list__item">
				<p>Minimal Ckin with overlay</p>
				<video poster="ckin.jpg" src="video.mp4" data-ckin="minimal" data-overlay="1"></video>
			</li>
			<li class="demo-list__item">
				<p>Compact Ckin with overlay</p>
				<video poster="ckin.jpg" src="video.mp4" data-ckin="compact" data-overlay="2"></video>
			</li>
			<li class="demo-list__item">
				<p>Compact Ckin with custom color</p>
				<video poster="ckin.jpg" src="video.mp4" data-color="#fff000" data-ckin="compact" data-overlay="2"></video>
			</li>
		</ul>
	</div>
</section>
<script src="dist/js/ckin.js"></script>
</body>
</html>

简约精美的HTML5在线视频播放器实例.rar

文章关键词
视频
播放器
万企互联 咸阳网站建设 万企微信 IDC主机测评 域名转发系统 IP地址查询 万企工具 超越彼岸BEYOND 六佰号MSDN系统 TOP图标库 六百号技术