1 Unstar Star 1 Fork 0

不出特产不出矿 / HTML-HLS播放器案例

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Nothing here. spread retract

Clone or download
demoHLS.html 1.35 KB
Copy Edit Web IDE Raw Blame History
洗脚溪串串 authored 2018-12-23 15:32 . 第一次提交
<!doctype html>
<html>
<head>
<meta name="viewport"
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui" />
<meta charset="utf-8">
<title>纯HLS(m3u8)</title>
</head>
<body>
<!--HLSPlayer代码开始-->
<div class="video" id="HLSPlayer">
<SCRIPT LANGUAGE=JavaScript>
/*
* HLSPlayer参数应用=========================<br>
* @Contact QQ:261532593
* @param {Object} vID ID
* @param {Object} vWidth 播放器宽度设置
* @param {Object} vHeight 播放器宽度设置
* @param {Object} vPlayer 播放器文件
* @param {Object} vHLSset HLS配置
* @param {Object} vPic 视频缩略图
* @param {Object} vCssurl 移动端CSS应用文件
* @param {Object} vHLSurl HLS(m3u8)地址
* ==========================================
*/
var vID = "";
var vWidth = "100%"; //播放器宽度设置
var vHeight = 400; //播放器宽度设置
var vPlayer = "HLSPlayer.swf?v=1.5"; //播放器文件
var vHLSset = "HLS.swf"; //HLS配置
var vPic = "images/start.png"; //视频缩略图
var vCssurl = ""; //移动端CSS应用文件
//HLS(m3u8)地址
var vHLSurl = "http://video.fjhps.com/20171227/czJgar4S/index.m3u8";
</SCRIPT>
<script type="text/javascript" src="js/hls.min.js?rand=20141217"></script>
</div>
</body>
</html>

Comment ( 0 )

Sign in for post a comment

1
https://gitee.com/kawhileonardfans/hls-player-example.git
git@gitee.com:kawhileonardfans/hls-player-example.git
kawhileonardfans
hls-player-example
HTML-HLS播放器案例
master

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542