-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (74 loc) · 3.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Custom Video Player</title>
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.min.css"/>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Car Racing (1080P)-->
<!-- https://pixabay.com/videos/download/video-41758_source.mp4?attachment -->
<!-- Lake (4K) -->
<!-- https://pixabay.com/videos/download/video-28745_source.mp4?attachment -->
<!-- Coding (1080P)-->
<!-- https://assets.mixkit.co/videos/preview/mixkit-software-developer-working-on-code-screen-close-up-1728-large.mp4 -->
<div class="player">
<video src="https://assets.mixkit.co/videos/preview/mixkit-ocean-waves-bursting-on-the-shore-of-the-coast-4078-large.mp4" class="video" playsinline></video>
<!-- Show Controls -->
<div class="show-controls">
<!-- Controls Container -->
<div class="controls-container">
<!-- Progress Bar -->
<div class="progress-range" title="Seek">
<div class="progress-bar"></div>
</div>
<div class="control-group">
<!-- Left Controls -->
<div class="controls-left">
<!-- Play / Pause -->
<div class="play-controls">
<i class="fas fa-play" title="Play" id="play-btn"></i>
</div>
<!-- Volume Control -->
<div class="volume">
<div class="volume-icon">
<i class="fas fa-volume-up" title="Mute" id="volume-icon"></i>
</div>
<div class="volume-range" title="Change Volume">
<div class="volume-bar"></div>
</div>
</div>
</div>
<!-- Right Controls -->
<div class="controls-right">
<!-- Speed -->
<div class="speed" title="Playback Rate">
<select name="playbackRate" class="player-speed">
<option value="0.5">0.5x</option>
<option value="0.75">0.75x</option>
<option value="1" selected>1x</option>
<option value="1.5">1.5x</option>
<option value="2">2x</option>
</select>
</div>
<!-- Time -->
<div class="time">
<span class="time-elapsed">00:00 /</span>
<span class="time-duration">02:38</span>
</div>
<!-- Fullscreen -->
<div class="fullscreen">
<i class="fas fa-expand"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Script -->
<script src="script.js"></script>
</body>
</html>