-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
43 lines (43 loc) · 1005 Bytes
/
index.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
<!doctype html>
<html>
<head>
<style>
#position {
border: solid 1px black;
height: 20px;
}
#position div {
background-color: black;
}
#play {
width: 50px;
height: 50px;
text-align: center;
line-height: 50px;
cursor: pointer;
}
#play {
background-color: green
}
#play.stop {
background-color: red
}
</style>
<title>Can Play Demo</title>
</head>
<body>
<h2>Can Play Demo</h2>
<video width=425 height=240 id=trailer preload>
<source src=trailer.mp4 type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
<source src=trailer.webm type='video/webm; codecs="vp8, vorbis"' />
<source src=trailer.ogv type='video/ogg; codecs="theora, vorbis"' />
</video>
<div id=position></div>
<div id=play></div>
<script src=jquery-1.7.2.js></script>
<script src=jquerymx-3.2.custom.js></script>
<script src=can.jquery-dev-edge.js></script>
<script src=popcorn.js></script>
<script src=demo.js></script>
</body>
</html>