forked from DanielleHuisman/transportstream.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.html
39 lines (34 loc) · 907 Bytes
/
example.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
39
<!DOCTYPE html>
<html>
<head>
<title>transportstream.js example</title>
<meta charset="utf-8">
<style>
html, body {
height: 100%;
margin: 0;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: sans-serif;
}
video {
background-color: black;
width: 64vw;
height: 36vw;
}
</style>
</head>
<body>
<h1 id="title"></h1>
<video id="video"></video>
<section>
<h3 id="epg-title"></h3>
<p id="epg-description"></p>
</section>
<script type="text/javascript" src="dist/transportstream.js"></script>
</body>
</html>