forked from jackzhang1204/sewise-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fallback_url.html
30 lines (30 loc) · 1.21 KB
/
fallback_url.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
<!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: 352px; margin:50px; padding: 20px; border:5px solid #999;">
<script type="text/javascript" src="../player/sewise.player.min.js"></script>
<script type="text/javascript">
SewisePlayer.setup({
server: "vod",
type: "mp4",
videourl: "http://jackzhang1204.github.io/materials/mov_bbb.mp4",
skin: "vodWhite",
logo: "http://onvod.sewise.com/libs/swfplayer/skin/images/logo.png",
poster: "http://jackzhang1204.github.io/materials/poster.png",
title: "fallback 兼容地址播放",
fallbackurls:{
ogg: "http://jackzhang1204.github.io/materials/mov_bbb.ogg",
webm: "http://jackzhang1204.github.io/materials/mov_bbb.webm"
}
});
</script>
</div>
<div style="float: left; width: 100%; padding: 10px 30px; "><a href="https://github.com/jackzhang1204/sewise-player" target="_blank">Fork it on GitHub</a></div>
</body>
</html>