-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
149 lines (128 loc) · 6.1 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title> Using Voice for How-to Videos</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<style>
/* Important part */
.modal-dialog {
overflow-y: initial !important
}
.modal-body {
height: 400px;
overflow-y: auto;
}
#overlay {
width: 640px;
height: 385px;
position: fixed;
left: 200px; /* document.getElementById("video-placeholder").offsetLeft */
top: 100px; /* document.getElementById("video-placeholder").offsetTop */
z-index: 10;
background: rgba(0, 0, 0, 0.3);
}
</style>
</head>
<body>
<!--
<h1>What would you like to learn today? </h1>
<div>
<p>
Some suggestions, <a href="https://www.youtube.com/results?search_query=how+to+put+on+eyeliner"> how to do an eye-liner make-up</a>, how to play a song on an instrument you have, <a href = "https://www.youtube.com/results?search_query=how+to+do+a+coin+trick">magic trick</a>, etc.
</p>
</div>
-->
<div class="row">
<div class="mx-auto" style="width: 640px;">
<p class="text-lg-center"> Copy and paste your YouTube URL here </p>
</div>
</div>
<div class="row">
<div class="input-group mb-3" style="width: 640px; float: none; margin: 0 auto; ">
<input type="text" class="form-control" id="channel" aria-describedby="basic-addon3" value="">
<div class="input-group-append">
<button class="btn btn-primary" type="button" id="change-btn" name="button">Change Video</button>
</div>
</div>
</div>
<div class="row" id="overlay">
<!--
this is where we put the overlay content
should be a grid
and each grid use be selectable - via voice (mouse?)
-->
</div>
<div class="row">
<div class="mx-auto" style="width: 640px;" id="video-placeholder"> </div>
</div>
<div class="row">
<div class="input-group mb-3" style="width: 640px; float: none; margin: 0 auto; ">
<div class="container">
<p id="recording-instructions"></p>
<h1 id="note-textarea">I'm listening...</h1>
<br>
<button class="btn btn-primary" type="button" id="start-btn" name="button">START LISTENING AGAIN</button>
<button type="button" id="pause-btn" name="button" hidden>pause</button>
<button class="btn btn-primary" type="button" id="overlay-btn" name="button" >OVERLAY</button>
<button type="button" id="play" name="button" hidden>PLAY</button>
<button type="button" id="pause" name="button" hidden>PAUSE</button>
<button type="button" id="faster-btn" name="button" hidden>FASTER</button>
<button type="button" id="slower-btn" name="button" hidden>SLOWER</button>
<button type="button" id="volume-input-up" name="button" hidden>Vol UP</button>
<button type="button" id="volume-input-down" name="button" hidden>Vol DOWN</button>
<button type="button" id="mute-toggle" name="button" hidden>mute</button>
<button type="button" id="fullscreen" name="button" hidden>full-screen</button>
<button type="button" id="skip-btn" name="button" value="0" hidden>skip</button>
<button type="button" id="back-btn" name="button" value="0" hidden>back</button>
<!--
<button type="button" id="next" name="button" hidden>NEXT</button>
<button type="button" id="prev" name="button" hidden>PREV</button>
<br>
<br>
<button type="button" class="playlist" value="PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI" name="button">Popular Music Videos - Playlist</button>
<br>
<br>
<button type="button" class="playlist" value="PL8fVUTBmJhHKEJjTNWn-ykf67rVrFWYtC" name="button">Sports Highlights - Playlist</button>
<br>
<br>
<button type="button" class="playlist" value="PLrEnWoR732-BHrPp_Pm8_VleD68f9s14-" name="button">Popular Right Now - Playlist</button>
-->
<a href="instruction-knitting.html" target="_blank" id="instruction" role="button" class="btn btn-secondary"> View Instruction
Page Again</a>
<!-- Modal
<div class="modal fade" id="checkModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">DO YOU HAVE THE TOOLS WITH YOU ??</h4>
</div>
<div class="modal-body">
<p>
<b>DO YOU HAVE YOUR INSTRUMENT WITH YOU NOW??</b></p>
<p>Click Go! When you have your instrument ready.</p>
<p>Let us hear it by playing a few sounds on it.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-secondary" data-dismiss="modal">Go!</button>
</div>
</div>
</div>
</div>
-->
</div>
</div>
</div>
</body>
<script src="https://www.youtube.com/iframe_api"></script>
<script type="text/javascript" src="jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="app.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.6/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
</html>