-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (69 loc) · 3.07 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
<!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="https://lh3.googleusercontent.com/ogw/ADGmqu-t4SjxY4Ie8AO20govlZr2aRd8b66T9sL48xyx=s32-c-mo">
<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 -->
<!-- Ocean (720P)-->
<!-- https://pixabay.com/videos/download/video-31377_tiny.mp4?attachment -->
<div class="player">
<video src="video.mp4" class="video" playinline></video>
<!--show controls-->
<div class="show-controls">
<div class="controls-container">
<!--progress bar-->
<div class="progress-range" title="seek">
<div class="progress-bar"></div>
</div>
<div class="control-group">
<div class="controls-left">
<div class="play-controls">
<i class="fas fa-play" title="play" id="play-btn"></i>
</div>
<div class="volumn">
<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>
<div class="controls-right">
<!--speed-->
<div class="speed" title="playback rate">
<select name="playbackRate" id="" 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">2: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>