-
Notifications
You must be signed in to change notification settings - Fork 0
/
instruction-knitting.html
384 lines (332 loc) · 21.8 KB
/
instruction-knitting.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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
<!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> Instructions</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link rel="stylesheet" href="jquery-ui.css" />
<style>
/* Important part */
.modal-dialog {
overflow-y: initial;
}
.modal-content.ui-resizable {
overflow: scroll;
}
.modal-body {
height: 600px ;
overflow-y: auto;
}
.center-me {
margin: 0 auto;
}
.container {
display: flex;
justify-content: center;
align-items: center;
vertical-align: center;
}
.link {
padding-top: 100px;
padding-bottom: 100px;
}
.mytext {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}
.border {
border-width: 25px;
border-color: black;
border-style: solid;
}
</style>
</head>
<body>
<div class="row">
<div class="col-sm-12">
<div class="container link">
<!-- Modal -->
<button type="button" class="btn btn-secondary align-middle" data-toggle="modal" data-target="#myModal1"> View
Instructions Again
</button>
<!-- Modal -->
<div class="modal fade" id="myModal1" 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">Instruction 1/9 - Reading all the Instructions</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<p> In this experiment, we want to see how using voice to navigate <b>HOW-TO VIDEOS</b> can
help people learn to knit.</p>
<p> Some of them are long, but it's <b>very important that you read them carefully to understand exactly what we want you to do.</b> </p>
<p style="color:red"> So please read all of them very carefully. </p>
<p>Depending on your screen resolution, some instructions might not be visible at first. But you can drag, resize and scroll the instruction pane to see them.</p>
<p>There are total <b>NINE instructions</b>, please read them all before diving into the tasks. These are instructions ON THIS PAGE, NOT ON USERTESTING.
</p>
</div>
<div class="modal-footer">
<button type="button" id="proceed-btn" class="btn btn-outline-success btn-next">I will read
all nine instructions <br/>before beginning the task</button>
<!--<button type="button" class="btn btn-outline-secondary" data-dismiss="modal">Close</button> -->
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" style="width:100%;">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Instruction 2/9 - Your Knitting kit!</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<p>
<b>YOU HAVE TO WATCH, DO AND LEARN SIMULTANEOUSLY.</b></p>
<p>So please have your yarn and needles (and other tools you need) ready at your hands, so you can follow the video while
doing the tasks.</p>
<p>
Do you have your knitting materials with you now? Tell us what you have in front of you verbally. :)
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-warning btn-prev">Go Back<br/></button>
<button type="button" id="proceed-btn2" class="btn btn-outline-success btn-next">I have it with me</button>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal3" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" style="width:100%;">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Instruction 3/9 - Certificate Error</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<p>When you visit our interface (Don't do it now) for the first time, it might give you a
warning about certificate (privacy) error.
</p>
<p>It's an issue on our end, and we promise it's safe. </p>
<p>Please click “Advanced”, and click "Proceed to minsukchang.com (unsafe)".
<p>Scroll Down for Demonstration<br/>
<img src="cert_error.gif" width="700" alt="certifcate error" class="border"> </p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-warning btn-prev">Go Back</button>
<button type="button" id="proceed-btn3" class="btn btn-outline-success btn-next">I understand
that I have to <br/>grant microphone access when prompted</button>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal4" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" style="width:100%;">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Instruction 4/9 - Allowing Microphone Access</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<p>When you visit our interface (Don't do it now), the website will prompt about granting
microphone access.
</p>
<p>Please click “ALLOW”. You will need this in order for the interface to listen to you.</p>
<p>Scroll Down for Demonstration<br/>
<img src="mic-allow.gif" alt="allow microphone acess" class="border"> </p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-warning btn-prev">Go Back</button>
<button type="button" id="proceed-btn3" class="btn btn-outline-success btn-next">I understand
that I have to <br/>grant microphone access when prompted</button>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal5" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" style="width:100%;">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Instruction 5/9 - Getting My Video in the Interface</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<p>once you have found a <b>HOW-TO VIDEO</b> on youtube that you want to follow, copy the
URL of your YouTube video <b> from the address bar at the top</b></p>
<p>paste in the URL of the video you found in the interface and click (or say) “change video”
</p>
<p>If the video changes and starts playing, say “stop”</p>
<p>If these steps worked, your microphone is working with the interface. If it does not work,
please refresh the page, and follow the steps 3 and 4 again.</p>
<p> Scroll Down for Demonstration<br/> <img src="url-cap.gif" alt="allow microphone acess"
class="border"> </p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-warning btn-prev">Go Back</button>
<button type="button" id="proceed-btn4" class="btn btn-outline-success btn-next">I understand
how to <br/>copy&paste my video</button>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal6" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" style="width:100%;">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Instruction 6/9 - Interface Functions</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<h3>THIS IS THE MOST IMPORTANT INSTRUCTION!!</h3>
<h3>PLEASE REMEMBER TO DO THIS THROUGHOUT THE USER TESTING</h3>
<p> On the interface, you can control the video using voice. We are deliberately not telling you the exact commands, because we want to see how YOU navigate the video and how YOU say them</p>
<p> At any point if you think the interface is not listening to you, you can click on the
“start listening again” button.</p>
<p>
If the interface does not support what you want to do, say it how you want to be able to say. And carry out the task using
mouse, keyboard, or voice. <b>THIS IS HYPOTHETICAL, SO DON'T WORRY ABOUT SAYING IT IN A
WAY A SYSTEM WOULD UNDERSTAND.</b> Just say <b>HOW YOU </b> want to say it.
</p>
<p style="color:red">
Example.
<ul>
<li>my need: "I want to see the beginning of the step, because I want to check if
I have it right"</li>
<li>I want to be able to say: "let me see that again"</li>
<li>To proceed, you would: use mouse to scrub the timeline and find the beginning
of step, and watch it again</li>
</ul>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-warning btn-prev">Go Back</button>
<button type="button" id="proceed-btn5" class="btn btn-outline-success btn-next">I understand
that I can <br/>freely express what I want</button>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal7" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" style="width:100%;">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Instruction 7/9 - Wearing a Headset</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<p>
Please wear a headset to watch the video and follow the tasks </p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-warning btn-prev">Go Back</button>
<button type="button" id="proceed-btn6" class="btn btn-outline-success btn-next">I'm wearing
my headset</button>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal8" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" style="width:100%;">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Instruction 8/9 - Picking a Different Video</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<p>Feel free to pick another video, if first video is not good for you at any point in the
study.
</p>
<p>Just find another video from YouTube and paste the URL. </p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-warning btn-prev">Go Back<br/></button>
<button type="button" id="proceed-btn7" class="btn btn-outline-success btn-next">I understand
that I can <br/>pick different videos</button>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal9" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" style="width:100%;">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Instruction 9/9 - THINKING ALOUD</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<p> <b>PLEASE THINK ALOUD THROUGHOUT.</b></p>
<p> <b>Everytime you perform an action, describe what you’re trying to do and why</b></p>
<p> <b>Remember, if the system doesn't support what you want, say it regardless.</b></p>
<p>You may pause, go back, skip, watch again, take as much time as you want to finish. </p>
<p>Remember you have to watch, learn, do with a <b>HOW-TO VIDEO</b>, and make sure you have
<b> your knitting kit ready with you!</b></p>
<!--
<p>Go ahead open <a href="https://www.minsukchang.com/voiceyoutubedemo/ "> https://www.minsukchang.com/voiceyoutubedemo/
</a>and <a href="https://www.youtube.com">YouTube</a> to start learning and doing while watching the video!
</p> -->
<p>You can visit this instruction again by clicking "view instruction page again" button.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-warning btn-prev">Go Back</button>
<button type="button" id="proceed-btn8" class="btn btn-outline-success" data-dismiss="modal">READY
TO START!</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="text-center mytext">
<h3>You may close this tab/window. </h3>
<h3>Instructions are also available on the interface.</h3>
<h3>If you are ready to move on, click <b>"NEXT"</b> on usertesting.com.</h3>
</div>
</body>
<script type="text/javascript" src="jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="jquery-ui.js"></script>
<script type="text/javascript" src="script.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>
<script type="text/javascript">
$('document').ready(function () {
$('.modal-content').resizable({
alsoResize: ".modal-dialog"
//minHeight: 500,
//minWidth: 500
});
$('.modal-dialog').draggable()
$('#myModal1').modal('show');
//setting a timer for activation for "next" buttons...
//sad but true
// document.getElementById("proceed-btn").disabled = true;
// setTimeout(function () { document.getElementById("proceed-btn").disabled = false; }, 5000);
// document.getElementById("proceed-btn2").disabled = true;
// setTimeout(function () { document.getElementById("proceed-btn2").disabled = false; }, 10000);
// document.getElementById("proceed-btn2").disabled = true;
// setTimeout(function () { document.getElementById("proceed-btn3").disabled = false; }, 20000);
// document.getElementById("proceed-btn2").disabled = true;
// setTimeout(function () { document.getElementById("proceed-btn4").disabled = false; }, 35000);
// document.getElementById("proceed-btn2").disabled = true;
// setTimeout(function () { document.getElementById("proceed-btn5").disabled = false; }, 55000);
// document.getElementById("proceed-btn2").disabled = true;
// setTimeout(function () { document.getElementById("proceed-btn6").disabled = false; }, 60000);
// document.getElementById("proceed-btn2").disabled = true;
// setTimeout(function () { document.getElementById("proceed-btn7").disabled = false; }, 70000);
// document.getElementById("proceed-btn2").disabled = true;
// setTimeout(function () { document.getElementById("proceed-btn8").disabled = false; }, 85000);
});
</script>
</html>