-
Notifications
You must be signed in to change notification settings - Fork 0
/
convergent-divergent-transform-magma.html
58 lines (58 loc) · 1.9 KB
/
convergent-divergent-transform-magma.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
<html>
<head>
<script src="jquery-3.3.1.min.js"></script>
<script>
var videoObjects = [{
id: "volcanoes",
name: "Volcanoes",
timesToPause: [19, 25, 31],
src: "volcanoes.mp4"
},{
id: "mountains",
name: "mountains",
timesToPause: [10, 15],
src: "mountains.mp4"
},{
id: "sea-floor-spread",
name: "Sea Floor Spread",
timesToPause: [20, 29, 38],
src: "sea-floor-spread.mp4"
},{
id: "earthquakes",
name: "Earthquakes",
timesToPause: [9, 13, 18],
src: "earthquakes.mp4"
}];
</script>
<script src="main.js"></script>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<div id="videoChoices">
<div>
<h4>Convergent</h4>
<div id="volcanoes" class="videoChoice">Volcanoes</div>
<div id="mountains" class="videoChoice">Mountains</div>
</div>
<div>
<h4>Divergent</h4>
<div id="sea-floor-spread" class="videoChoice">Sea Floor Spread</div>
</div>
<div>
<h4>Transform</h4>
<div id="earthquakes" class="videoChoice">Earthquakes</div>
</div>
</div>
<div id="videoDiv">
<div id="noVideoMessage">
<div>
Click on a plate boundary above. <br/>A video will appear here.
</div>
</div>
<video id="video" controls muted="muted">
<source id="videoSource" src="" type="video/mp4">
</video>
<div id="message"></div>
</div>
</body>
</html>