forked from jackzhang1204/sewise-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_parameters.html
44 lines (42 loc) · 1.34 KB
/
setup_parameters.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<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, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"/>
<title>Sewise Player</title>
</head>
<body>
<div style="width: 640px; height: 360px; ">
<!-- 1.根据给定视频地址播放 -->
<script type="text/javascript" src="../player/sewise.player.min.js"></script>
<script type="text/javascript">
SewisePlayer.setup({
server: "vod",
type: "mp4",
videourl: "http://www.w3schools.com/html/mov_bbb.mp4",
skin: "vodWhite",
title:"Tile 标题",
fallbackurls:{
ogg: "http://www.w3schools.com/html/mov_bbb.ogg",
webm: "http://www.w3schools.com/html/mov_bbb.webm"
}
});
</script>
<!-- 2.根据给定视频节目ID播放 -->
<!-- <script type="text/javascript" src="http://219.232.161.202/libs/swfplayer/player/sewise.player.min.js"></script>
<script type="text/javascript">
SewisePlayer.setup({
sourceid: "eQgPHj4N",
server: "vod",
skin: "vodWhite",
title:"sourceid 播放",
fallbackurls:{
ogg: "http://www.w3schools.com/html/mov_bbb.ogg",
webm: "http://www.w3schools.com/html/mov_bbb.webm"
}
});
</script> -->
</div>
</body>
</html>