-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (32 loc) · 1.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy" content="default-src *;
img-src * 'self' data: https:; script-src 'self' 'unsafe-inline' 'unsafe-eval' *;
style-src 'self' 'unsafe-inline' *">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="stylesheet" href="css/progress.css">
<link rel="stylesheet" href="css/style.css">
<title>Custom Video Player</title>
</head>
<body>
<h1>Custom Video Player</h1>
<video src="video-folder//mov_bbb.mp4"
id="video" class="screen" poster="assests//poster.jpg"></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>
<div>
<button id="togglePipButton" class="btn-toggle">Toggle Picture-in-Picture</button>
</div>
<script src="index.js"></script>
</body>
</html>