-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (54 loc) · 2.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Video media player</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="style.css" rel="stylesheet">
<script src="https://kit.fontawesome.com/80619f9a2e.js" crossorigin="anonymous"></script>
</head>
<body>
<section class="container" id="container">
<figure class="videoLayout">
<figcaption id="title">Video player</figcaption>
<!-- loader -->
<span class="loader" id="loader">
<span class="loaderInner">
</span>
</span>
<!---->
<!-- control bar -->
<div class="controls" id="controls">
<div class="bar" id="bar" role="menubar">
<!-- play or pause icon -->
<div id="playpause" tabindex="0" role="button">
<i class="fa-solid fa-play playpause icon"></i>
</div>
<!-- -->
<!-- progress bar -->
<progress id="progress" min="0" value="0" role="progressbar"></progress>
<!-- -->
<!-- right controls -->
<div class="rightControls" id="rightControls">
<div class="durationBox">
<span class="currentDuration" id="currentDuration">00:00</span>/
<span class="duration" id="duration">00:00</span>
</div>
<input type="range" name="volume" id="volSlider" min="0" max="100" role="slider" aria-label="volume"></input>
<div id="volume" tabindex="0" role="button">
<i class="fa-solid fa-volume-high icon"></i>
</div>
<div id="fullscreen" tabindex="0" role="button">
<i class="fa-solid fa-expand icon"></i>
</div>
</div>
<!-- -->
</div>
</div>
<!-- -->
<video id="video" tabindex="0" src="https://ia600300.us.archive.org/17/items/BigBuckBunny_124/Content/big_buck_bunny_720p_surround.mp4"></video>
</figure>
</section>
</body>
<script src="script.js"></script>
</html>