-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
153 lines (146 loc) · 5.46 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
150
151
152
153
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Video Player</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/jquery-ui.min.js"></script>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<div class="videoWrapper">
<video id="video" class="video">
<source src="video/video.ogg" type="video/ogg">
<source src="video/video.mp4" type="video/mp4">
<track kind="subtitles" label="English" src="video/captions.vtt" srclang="en" default>
Your browser does not support the <code>video</code> element.
</video>
<div id="buttonbar" class="buttonbar">
<div class="progress">
<div id="bufferProgress" class="bufferProgress"></div>
<div id="playProgress" class="playProgress"></div>
<input type="range" id="progressBar" class="progressBar" value="0">
</div>
<div class="buttons">
<div class="button-left">
<button id="play" class="play-button" onclick="vidplay()">
<img id="playImage" src="icons/play-icon.png" alt="">
</button>
<div id="timeDisplay" class="timeDisplay">
<span id="timeCurrent">00:00</span><span class="timeSeperator">/</span><span id="timeDuration">00:59</span>
</div>
</div>
<div class="button-right" id="button-right">
<div class="speed-container">
<button id="speed-button" class="speed-button">SD</button>
<div class="speed-controls">
<ol>
<li class="speed" data-speed="2">
2x
<span class="speed-tooltip">2x</span>
</li>
<li class="speed" data-speed="1.5">
1.5x
<span class="speed-tooltip">1.5x</span>
</li>
<li class="speed current" data-speed="1">
1x
<span class="speed-tooltip">1x</span>
</li>
<li class="speed" data-speed="0.5">
0.5x
<span class="speed-tooltip">0.5x</span>
</li>
</ol>
</div>
</div>
<div class="sound-container">
<button id='mute-button' class='mute-button' title='mute' onclick='toggleMute();'>
<img id="muteImage" src="icons/volume-on-icon.png" alt="">
</button>
</div>
<div class="volume-container">
<div class="volume-slide-container" id="volume">
<div id="volumeBar" class="volume"></div>
</div>
</div>
<div class="subtitles-container">
<button class="cc-button show" id="subtitles" type="button" data-state="subtitles">CC</button>
</div>
<button id='fullscreen-button' class='fullscreen-button' title='fullscreen' onclick='toggleFullScreen();'>
<img id="fullscreenImage" src="icons/fullscreen-icon.png" alt="">
</button>
</div>
</div>
</div>
</div>
<p class="captions">
<span class="captionPart" data-start="00.240">
Now that we've looked at the architecture
of the internet, let's see how you might
</span>
<span class="captionPart" data-start="04.130">
connect your personal devices to
the internet inside your house.
</span>
<span class="captionPart" data-start="07.535">
Well there are many ways to
connect to the internet, and
</span>
<span class="captionPart" data-start="11.270">
most often people connect wirelessly.
</span>
<span class="captionPart" data-start="13.960">
Let's look at an example of how
you can connect to the internet.
</span>
<span class="captionPart" data-start="17.940">
If you live in a city or a town,
you probably have a coaxial cable for
</span>
<span class="captionPart" data-start="22.370">
cable Internet, or a phone line if you
have DSL, running to the outside of
</span>
<span class="captionPart" data-start="26.880">
your house, that connects you to
the Internet Service Provider, or ISP.
</span>
<span class="captionPart" data-start="32.100">
If you live far out in the country,
you'll more likely have
</span>
<span class="captionPart" data-start="34.730">
a dish outside your house, connecting
you wirelessly to your closest ISP, or
</span>
<span class="captionPart" data-start="39.430">
you might also use the telephone system.
</span>
<span class="captionPart" data-start="42.350">
Whether a wire comes straight from
the ISP hookup outside your house, or
</span>
<span class="captionPart" data-start="46.300">
it travels over radio
waves from your roof,
</span>
<span class="captionPart" data-start="49.270">
the first stop a wire will make once
inside your house, is at your modem.
</span>
<span class="captionPart" data-start="53.760">
A modem is what connects the internet
to your network at home.
</span>
<span class="captionPart" data-start="57.780">
A few common residential modems are DSL or
</span>
</p>
</div>
<script src="js/app.js"></script>
</body>
</html>