-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
81 lines (75 loc) · 2.77 KB
/
index.html
File metadata and controls
81 lines (75 loc) · 2.77 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
80
81
<!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">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons" rel="stylesheet" />
<link rel="stylesheet" href="./style.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<title>Video Player</title>
</head>
<body>
<div class="video-container">
<div id="video_player">
<div class="videoSpinner">
</div>
<video preload="metadata" id="main-video">
<source src="" id="id_videoSource" type="video/mp4">
<!-- <source src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" type="video/mp4"> -->
</video>
<div class="thumbnail"></div>
<div class="progressAreaTime">0:00</div>
<div class="controls">
<div class="progress-area">
<!-- <style data-css-webkit-slider-thumb="cwst" type="text/css"></style> -->
<input type="range" name="progressBar" id="id_progressBar" step="0.1" min="0" max="100" value="0" class="progress-bar">
<span></span>
</div>
<div class="controls-list">
<div class="controls-left">
<span class="icon">
<i class="material-icons play_pause">play_arrow</i>
</span>
<span class="icon">
<i class="material-icons volume">volume_up</i>
<input type="range" min="0" max="100" value="100" class="volume_range" />
</span>
<div class="timer">
<span class="current">0:00</span> /
<span class="duration">0:00</span>
</div>
</div>
<div class="controls-right">
<span class="icon">
<i class="material-icons settingsBtn">settings</i>
</span>
<span class="icon">
<i class="material-icons picture_in_picutre">picture_in_picture_alt</i>
</span>
<span class="icon">
<i class="material-icons fullscreen">fullscreen</i>
</span>
</div>
</div>
</div>
<div id="settings">
<div class="playback">
<span>Playback Speed</span>
<ul>
<li data-speed="0.25">0.25</li>
<li data-speed="0.5">0.5</li>
<li data-speed="0.75">0.75</li>
<li data-speed="1" class="active">Normal</li>
<li data-speed="1.25">1.25</li>
<li data-speed="1.5">1.5</li>
<li data-speed="1.75">1.75</li>
<li data-speed="2">2</li>
</ul>
</div>
</div>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>