first commit
This commit is contained in:
21
test/tengxunplay.html
Executable file
21
test/tengxunplay.html
Executable file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<script src="http://imgcache.qq.com/open/qcloud/video/vcplayer/TcPlayer-2.3.1.js" charset="utf-8"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="id_test_video" style="width:100%; height:auto;"></div>
|
||||
|
||||
<script>
|
||||
|
||||
var player = new TcPlayer('id_test_video', {
|
||||
"m3u8": "http://video.geekhelp.cn/1563184039655", //请替换成实际可用的播放地址
|
||||
"width" : '480',//视频的显示宽度,请尽量使用视频分辨率宽度
|
||||
"height" : '320'//视频的显示高度,请尽量使用视频分辨率高度
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user