-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathnott.html
89 lines (86 loc) · 2.38 KB
/
nott.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>NOTT - The New OTT</title>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/clappr@latest/dist/clappr.min.js"></script>
<style>
.flex-container {
padding: 0;
margin: 0;
list-style: none;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
justify-content: space-around;
}
.flex-item {
background: tomato;
padding: 5px;
width: 640px;
height: 360px;
margin-top: 10px;
line-height: 150px;
color: white;
font-weight: bold;
font-size: 3em;
text-align: center;
}
.title {
font-color: white;
color: darkorange;
font-size: xxx-large;
text-align: center;
text-transform: full-width;
font-weight: lighter;
}
.subtitle {
font-color: white;
color: dimgray;
font-size: larger;
text-align: center;
text-transform: full-width;
font-weight: lighter;
}
.notstealenfromnetflix {
background-color: #141414
}
</style>
</head>
<body class="notstealenfromnetflix">
<h1 class="title">NOTT - The New OTT</h1>
<h2 class="subtitle">Using IA, blockchain, ML, VR, IoT to show you colorbar and bunnies</h2>
<ul class="flex-container">
<li class="flex-item">
<div id="player"></div>
</li>
<li class="flex-item">
<div id="player1"></div>
</li>
</ul>
<script>
var player = new Clappr.Player(
{
source: "http://localhost:8080/hls/colorbar.m3u8?token=token",
parentId: "#player",
poster: 'https://www.bogotobogo.com/FFMpeg/images/test_patterns/testsrc010.png',
mute: true,
height: 360,
width: 640,
});
var player1 = new Clappr.Player(
{
source: "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8",
parentId: "#player1",
poster: 'https://upload.wikimedia.org/wikipedia/commons/c/c5/Big_buck_bunny_poster_big.jpg',
mute: true,
height: 360,
width: 640,
});
</script>
</body>
</html>