- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
Latest commit
79 lines (74 loc) · 3.48 KB
/
Copy pathindex.html
File metadata and controls
79 lines (74 loc) · 3.48 KB
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
76
77
78
79
<!DOCTYPE html>
<htmllang="en">
<head>
<metacharset="UTF-8">
<metaname="viewport" content="width=device-width, initial-scale=1.0">
<title>Custom Video Player</title>
<linkrel="icon" type="image/gif" href="jt.gif">
<linkrel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.min.css"/>
<linkrel="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 -->
<divclass="player">
<videosrc="https://pixabay.com/videos/download/video-41758_source.mp4?attachment" class="video" playsinline></video>
<!-- Show Controls -->
<divclass="show-controls">
<!-- Controls Container -->
<divclass="controls-container">
<!-- Progress Bar -->
<divclass="progress-range" title="Seek">
<divclass="progress-bar"></div>
</div>
<divclass="control-group">
<!-- Left Controls -->
<divclass="controls-left">
<!-- Play/Pause -->
<divclass="play-controls">
<iclass="fas fa-play" title="Play" id="play-btn"></i>
</div>
<!-- Volume -->
<divclass="volume">
<divclass="volume-icon">
<iclass="fas fa-volume-up" title="Mute" id="volume-icon"></i>
</div>
<divclass="volume-range" title="Change Volume">
<divclass="volume-bar"></div>
</div>
</div>
</div>
<!-- Right Controls -->
<divclass="controls-right">
<!-- Speed -->
<divclass="speed" title="Playback Rate">
<selectname="playbackRate" class="player-speed">
<optionvalue="0.5">0.5 x</option>
<optionvalue="0.75">0.75 x</option>
<optionvalue="1" selected>1 x</option>
<optionvalue="1.5">1.5 x</option>
<optionvalue="2">2 x</option>
</select>
</div>
<!-- Time -->
<divclass="time">
<spanclass="time-elapsed">00:00 /</span>
<spanclass="time-duration">2:38 </span>
</div>
<!-- Fullscreen -->
<divclass="fullscreen">
<iclass="fas fa-expand"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Script -->
<scriptsrc="script.js"></script>
</body>
</html>