forked from mozilla/popcorn-js
-
Notifications
You must be signed in to change notification settings - Fork 68
/
popcorn.baseplayer.unit.html
74 lines (64 loc) · 1.68 KB
/
popcorn.baseplayer.unit.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html>
<head>
<title>Popcorn Base Player Plugin</title>
<link rel="stylesheet" href="../../test/qunit/qunit.css" type="text/css" media="screen">
<script src="../../test/qunit/qunit.js"></script>
<!--
do not move - this must be called immediately prior to
popcorn-api-draft.js
-->
<script src="../../popcorn.js"></script>
<script src="popcorn.baseplayer.unit.js"></script>
<script src="popcorn.baseplayer.js"></script>
<style>
body > div {
width: 100%;
float: left;
overflow: hidden;
}
div div {
margin-bottom:20px;
}
#player_1 {
position: absolute;
left: 220px;
top: 260px;
width: 300px;
height: 250px;
background: #FFAAAA;
}
#video {
position: absolute;
left:620px;
top: 260px;
width: 300px;
height: 175px;
background: #FFAAAA;
}
</style>
</head>
<body>
<h1 id="qunit-header">Popcorn Base Player Plugin</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture"> </div>
<span id="player_1">This is a container for the player, auto-sized for testing purposes.</span>
<div >
<video id='video'
controls
width= '250px'
poster="../../test/poster.png">
<source id='mp4'
src="../../test/trailer.mp4"
type='video/mp4; codecs="avc1, mp4a"'>
<source id='ogv'
src="../../test/trailer.ogv"
type='video/ogg; codecs="theora, vorbis"'>
<p>Your user agent does not support the HTML5 Video element.</p>
</video>
</div>
</body>
</html>