-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
29 lines (24 loc) · 1.02 KB
/
index.html
File metadata and controls
29 lines (24 loc) · 1.02 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
<!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="stylesheet" href="css/progress.css">
<link rel="stylesheet" href="css/style.css">
<script src="https://kit.fontawesome.com/a96490c3a3.js" crossorigin="anonymous"></script>
</head>
<body>
<h1>Custom Video Player</h1>
<video src="videos/gone.mp4" id="video" class="screen" poster="img/poster.png"></video>
<div class="controls">
<button class="btn" id="play"><i class="fa fa-play fa-2x"></i></button>
<button class="btn" id="stop"><i class="fa fa-stop fa-2x"></i></button>
<input type="range" id="progress" class="progress" min="0" max="100" step="0.1" value="0">
<span class="timestamp" id="timestamp">00:00</span>
</div>
<!-- <script src="script.js"></script> -->
<script src="script2.js"></script>
</body>
</html>
<!-- https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Video_and_audio_APIs -->