-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvideoplayer-test.html
58 lines (51 loc) · 1.05 KB
/
videoplayer-test.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html>
<head>
<title>Vsuite Player test</title>
<style type="text/css">
.relative{
position: relative;
}
</style>
</head>
<body>
<h1>VsuitePlayer Video Test</h1>
<hr>
<div class="relative" id="videoWrapper"></div>
<script src="http://localhost:82/iab-videoplayer.js"></script>
<script src="http://localhost:82/vast-parser.js"></script>
<script src="http://localhost:82/video-test.js"></script>
<script type="text/javascript">
var vplayer = new $iab.VsuitePlayer("videoWrapper",
{
width: '600',
height: '480',
playlist: [
'http://media.w3.org/2010/05/sintel/trailer.mp4'
],
ads: {
companions: {
regions: [
{
"id": "companion-80x300",
"width": 80,
"height": 300,
position: 'right'
}
]
},
schedule: [
{
"position": "pre-roll",
"tag": "http://localhost:82/ads/openx-fc-vast2-0.xml?format=vast&charset=UTF-8"
}
]
}
}
).start();
</script>
<!--
<script src="vsuiteplayer-bootstrap.js" ></script>
-->
</body>
</html>