forked from jackzhang1204/sewise-player
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfallback_url.html
More file actions
27 lines (27 loc) · 840 Bytes
/
Copy pathfallback_url.html
File metadata and controls
27 lines (27 loc) · 840 Bytes
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
<!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; ">
<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: "fallback 兼容地址播放",
fallbackurls:{
ogg: "http://www.w3schools.com/html/mov_bbb.ogg",
webm: "http://www.w3schools.com/html/mov_bbb.webm"
}
});
</script>
</div>
</body>
</html>