-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
69 lines (59 loc) · 1.94 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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Gaze pointer video watcher</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='main.css'>
<script src='main.js'></script>
</head>
<body>
<h1>Gaze pointer based UI</h1>
<p>Follow setup instructions <a href="https://sourceforge.net/projects/gazepointer/">here</a></p>
<div id="video_controls_bar">
<button id="advance"
class="control_button"
onmouseover="lookAt(this, 'advance')"
onmouseout="stopLookingAt(this, 'advance')">
+15s
</button>
<button id="backtrack"
class="control_button"
onmouseover="lookAt(this, 'backtrack')"
onmouseout="stopLookingAt(this, 'backtrack')">
-15s
</button>
<button id="prev"
class="control_button"
onmouseover="lookAt(this, 'prev')"
onmouseout="stopLookingAt(this, 'prev')">
Prev
</button>
</div>
<div id="video_player_box">
<video id="example_video" controls="controls" height="300" autoplay muted loop src="apollo.mp4"></video>
</div>
<div id="video_controls_bar">
<button id="playpause"
class="control_button"
style="background-color: red;"
onmouseover="lookAt(this, 'playpause')"
onmouseout="stopLookingAt(this, 'playpause')">
Pause
</button>
<button id="speed"
class="control_button"
onmouseover="lookAt(this, 'speed')"
onmouseout="stopLookingAt(this, 'speed')">
1x
</button>
<button id="next"
class="control_button"
onmouseover="lookAt(this, 'next')"
onmouseout="stopLookingAt(this, 'next')">
Next
</button>
</div>
</body>
</html>