-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Video Player</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap" rel="stylesheet">
</head>
<body>
<header>
<img src="./assets/logo.png" alt="video player logo" id="logo">
</header>
<main id="video-player-container">
<h2>Demo video</h2>
<video id="video">
<source src="./assets/demo.mp4" type="video/mp4">
</source>
</video>
<div id="video-control-panel">
<button id="play-video" class="control-video">
<img src="./assets/play.png" alt="play icon" class="icon" id="play-icon">
<img src="./assets/pause.png" alt="pause icon" class="icon" hidden id="pause-icon">
</button>
<div id="progress-bar-field">
<label for="progress-bar" id="progress-counter">00:00</label>
<progress id="progress-bar" value="0" min="0" max="100"></progress>
</div>
</div>
</main>
<script src="index.js"></script>
</body>
</html>