-
Notifications
You must be signed in to change notification settings - Fork 0
/
plate-boundaries-one-convergent-one-divergent-one-transform.html
55 lines (55 loc) · 1.69 KB
/
plate-boundaries-one-convergent-one-divergent-one-transform.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
<html>
<head>
<script src="jquery-3.3.1.min.js"></script>
<script>
var videoObjects = [
{
id: 'convergent-oceanic-oceanic',
name: 'convergent-oceanic-oceanic',
timesToPause: [18, 25, 27],
src: 'convergent-oceanic-oceanic.mp4'
},
{
id: 'divergent-continental-continental',
name: 'divergent-continental-continental',
timesToPause: [17, 24, 30],
src: 'divergent-continental-continental.mp4'
},
{
id: 'transform-oceanic-oceanic',
name: 'transform-oceanic-oceanic',
timesToPause: [],
src: 'transform-oceanic-oceanic.mp4'
}
];
</script>
<script src="main.js"></script>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<h3>Click on each boundary type and observe what happens in each video.</h3>
<div id="videoChoices">
<div>
<h4>Convergent</h4>
<div id="convergent-oceanic-oceanic" class="videoChoice">Oceanic-Oceanic</div>
</div>
<div>
<h4>Divergent</h4>
<div id="divergent-continental-continental" class="videoChoice">Continental-Continental</div>
</div>
<div>
<h4>Transform</h4>
<div id="transform-oceanic-oceanic" class="videoChoice">Oceanic-Oceanic</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>