-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
117 lines (92 loc) · 4.19 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!doctype html>
<html>
<head>
<title>BNTH Robot Cam!</title>
<link type="text/css" rel="stylesheet" href="css/n.css">
<link type="text/css" rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.5/simplex/bootstrap.min.css">
<!-- replace? -->
<link href="https://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="css/main.css">
</head>
<body>
<a href="http://bnthrobotics.com" style="color:white;"><-- back</a>
<br>
<h1>★ ROBOT CAM ★</h1>
<video src showcontrols="false" muted autoplay id="v"></video>
<div id="progress-hold">
<div id="progress-bar"></div>
</div>
<h2></h2>
<div id="footer">Press ? for keyboard controls</div>
<!-- Todo: Add help modal and select modal -->
<!-- Modal -->
<div class="modal fade" id="helpModal" tabindex="-1" role="dialog" aria-labelledby="helpModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close" id="closeUpload"><span aria-hidden="true">×</span>
</button>
<h4 class="modal-title" id="helpModalLabel">Help</h4>
</div>
<div class="modal-body" >
Keyboard Commands:
<table class="table">
<tr>
<td>f</td>
<td>Fullscreen the video</td>
</tr>
<tr>
<td>m</td>
<td>Mute or unmute video</td>
</tr>
<tr>
<td>n</td>
<td>Go to the next video</td>
</tr>
<tr>
<td>p</td>
<td>Go to the previous video</td>
</tr>
<tr>
<td>f</td>
<td>Enter fullscreen mode</td>
</tr>
<tr>
<td>s</td>
<td>Bring up the select menu</td>
</tr>
</table>
<hr>
Built by <a href="http://helloben.co">Ben Stobaugh</a> for the <a href="http://bnthrobotics.com">BNTH Robotics team</a>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="selModal" tabindex="-1" role="dialog" aria-labelledby="selModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close" id="closeUpload"><span aria-hidden="true">×</span>
</button>
<h4 class="modal-title" id="selModalLabel">Select video to play</h4>
</div>
<div class="modal-body" id="selBody">
<table class="table table-hover" style="cursor:pointer;">
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="data.js"></script>
<script src="js/main.js"></script>
</body>
</html>