-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpopUpProblems.html
51 lines (42 loc) · 1.96 KB
/
popUpProblems.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
<!--
Video-Embedded Problems Controller!
Copy-and-paste all of this into a Raw HTML element under your video.
The table below tells us what time (in seconds) each problem will pop up.
Problems are called by name - make sure the name matches exactly and there are no duplicates.
Note that every row but the last one needs a comma.
-->
<script>
var popUpProblemTimer =
[
{time: "4", title: "What Game?"},
{time: "8.5", title: "What Happened?"},
{time: "12", title: "What Was That?"},
{time: "16", title: "Collision"}
];
// All of the items below are optional; feel free to chuck any or all of them.
// They set the window width, appearance/disappearance effects, and location.
var HXpopUpOptions =
{
width: 800, // pixels
effect: "fade", // jQuery UI effect
effectlength: 200, // miliseconds
myPosition: "center", // location like "left center"
atPosition: "center", // location like "right top"
ofTarget: window // JQuery object like $('.video')
};
</script>
<!--
Make sure that the script and link tags below are included.
You will not need to change these.
-->
<script src="/static/popUpProblems2.js"></script>
<link rel="stylesheet" type="text/css" href="/static/popUpProblems.css" />
<h4>Video Question Controls</h4>
<!--
These are the control buttons for the video problems.
You can change the text in these, but don't change the tags at all.
-->
<button id="popUpPlayPause" aria-label="Start"><span id="playpauseicon" class="VQControls">‣</span> <span id="playpauseword">Play</span></button>
<button id="popUpReset" aria-label="Answer Video Problems From Beginning"><span class="VQControls">↩</span> Restart</button>
<button id="backOneProblem" aria-label="Go Back One Question"><span class="VQControls">⇤</span> Back One</button>
<button id="problemToggle" aria-label="Toggle Video Problems On/Off"><span id="sunmoon" class="VQControls">☼</span> <span id="onoff">Problems are On</span></button>