-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
94 lines (88 loc) · 3.47 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
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="http://getbootstrap.com/docs-assets/ico/favicon.png">
<title>HTML5 Video Browser</title>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/navbar-static-top.css" rel="stylesheet">
<link href="css/videobrowser.css" rel="stylesheet">
</head>
<body>
<!-- Static navbar -->
<div class="navbar navbar-default navbar-static-top" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">HTML5 Video Browser</a>
</div>
</div>
<div class="container">
<div class="col-md-8">
<video id="videoplayer" width="600px" preload="auto" poster="media/poster.jpg">
<source src="media/BigBuckBunny_320x180.webm" type="video/webm">
Your browser does not support the video tag.
</video>
</div>
<div class="col-md-4">
<h1>Manual</h1>
<ul>
<li>Hit play button</li>
<li>Click on Keyframes -> Zoom in</li>
<li>Click on Zoom out Button -> Zoom out</li>
<li>Click on Timeline -> Scroll (keep Zoomfactor)</li>
<li>Reload -> Resets the video player</li>
</ul>
<h1>Color Codes</h1>
<ul>
<li>Blue: Timestamps for orientation</li>
<li>Green: Reference to Keyframes on Timeline</li>
<li>Red: Current playback position</li>
</ul>
</div>
<div class="col-md-12" id="timeline_container">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><canvas class="thumb" id="picture1"></canvas></td>
<td><canvas class="thumb" id="picture2"></canvas></td>
<td><canvas class="thumb" id="picture3"></canvas></td>
<td><canvas class="thumb" id="picture4"></canvas></td>
<td><canvas class="thumb" id="picture5"></canvas></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><canvas id="timeline"></canvas></td>
</tr>
<tr>
<td>
<a class="btn btn-success" id="button_play"><span class="glyphicon glyphicon-play-circle"> Play/Pause</span></a> |
<a class="btn btn-primary" id="button_zoomout"><span class="glyphicon glyphicon-zoom-out"> Zoom-Out</span></a> |
<a class="btn btn-danger" id="button_reload"><span class="glyphicon glyphicon-refresh"> Reload</span></a> |
Zoomlevel: <span id="zoomlevel">1</span> | Time: <span id="playbacktime">00:00:00</span></td>
</tr>
</table>
</div>
</div> <!-- /container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery-1.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/videobrowser.js"></script>
</body>
</html>