-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (45 loc) · 1.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Video Player</title>
<!-- Favicon -->
<link rel="icon" type="image/png" href="./assets/favicon/video-play-icon.png" />
<script
src="https://kit.fontawesome.com/134ae5dab2.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="./assets/css/progress.css" />
<link rel="stylesheet" href="./assets/css/style.css" />
</head>
<body>
<h1>Video Player</h1>
<video
src="./assets/videos/gone.mp4"
id="video"
class="screen"
poster="./assets/img/poster.png"
></video>
<div class="controls">
<button class="btn" id="play">
<i class="fa fa-play fa-2x"></i>
</button>
<button class="btn" id="stop">
<i class="fa fa-stop fa-2x"></i>
</button>
<input
type="range"
id="progress"
class="progress"
min="0"
max="100"
step="0.1"
value="0"
/>
<span class="timestamp" id="timestamp">00:00</span>
</div>
<script src="./app.js"></script>
</body>
</html>
<!-- https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Video_and_audio_APIs -->