-
Notifications
You must be signed in to change notification settings - Fork 0
/
vid-player.html
38 lines (33 loc) · 1.22 KB
/
vid-player.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
35
36
37
38
<!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">
<title>Video Player [ALPHA] v.0132 Integration - Videojs</title>
<script src="https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script>
<link rel="icon" href="/minecraft/images/icon-vid.svg">
<link href="https://unpkg.com/video.js@7/dist/video-js.min.css" rel="stylesheet" />
<link href="https://unpkg.com/@videojs/themes@1/dist/fantasy/index.css" rel="stylesheet" />
<style>
* {
margin: 0;
padding: 0;
}
.my-video {
width: 100vw;
height: 100vh;
}
.vjs-theme-fantasy .vjs-play-progress,
.vjs-theme-fantasy .vjs-play-progress:before {
background-color: red !important;
}
</style>
</head>
<body>
<video id="my-video" class="my-video video-js vjs-theme-fantasy" data-setup="" controls>
<source src="/minecraft/videos/1.mp4" type="video/mp4" />
</video>
<script src="https://vjs.zencdn.net/7.11.4/video.min.js"></script>
</body>
</html>