-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·24 lines (22 loc) · 1.1 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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Youtube Video Controller</title>
<link rel="stylesheet" href="resources/css/fontawesome-free-5.15.4/css/all.min.css">
<Link rel="stylesheet" href="resources/css/style.css">
<link rel="icon" href="favicon.ico" type="image/x-icon">
</head>
<body>
<video class="html-videos" title="This is a test video!" crossorigin="anonymous">
<source src="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" type="video/mp4">
<track kind="subtitles" src="resources/subtitles/english.vtt" srclang="en" label="English">
<track kind="subtitles" src="resources/subtitles/spanish.vtt" srclang="es" label="Spanish">
Your browser does not support the video tag.
</video>
<script type="module">
import {StreamBox} from './resources/streamBox/StreamBox.js';
StreamBox.commence('html-videos');
</script>
</body>
</html>