-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
44 lines (44 loc) · 1.16 KB
/
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
44
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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=https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js></script>
<script src=http://donejs.com/can/dist/edge/can.jquery.min.js></script>
<script src=http://cdn.popcornjs.org/code/dist/popcorn.min.js></script>
<script src=jquerymx-3.2.custom.js></script>
<script src=demo.js></script>
</body>
</html>