-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (40 loc) · 1.49 KB
/
index.html
File metadata and controls
45 lines (40 loc) · 1.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Custom HTML5 Video Player</title>
<link href="../index.css" rel="stylesheet">
<link href="index.css" rel="stylesheet">
</head>
<body class="container">
<div class="main">
<h1 class="main__title">
<a href="../index.html" class="main__back-btn">←</a>
Custom HTML5 Video Player
</h1>
<p class="main__description">
Let's create our own HTML5 player!
</p>
<div class="player">
<video class="player__video viewer" src="https://player.vimeo.com/external/194837908.sd.mp4?s=c350076905b78c67f74d7ee39fdb4fef01d12420&profile_id=164"></video>
<div class="player__controls">
<div class="progress">
<div class="progress--filled"></div>
</div>
<button class="player__button toggle" title="Toggle Play">►</button>
<input type="range" name="volume" class="player__slider" min="0" max="1" step="0.05" value="1">
<input type="range" name="playbackRate" class="player__slider" min="0.5" max="2" step="0.1" value="1">
<button data-skip="-10" class="player__button">« 10s</button>
<button data-skip="25" class="player__button">25s »</button>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<span>Check out Sacret's <a href="https://github.com/Sacret">GitHub</a>
and <a href="https://twitter.com/Sacret19">Twitter</a></span>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>