Skip to content

Commit ac65cda

Browse files
authored
Create index
1 parent 1d1708b commit ac65cda

File tree

1 file changed

+120
-0
lines changed

1 file changed

+120
-0
lines changed

index

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
<!DOCTYPE html><html lang="en">
2+
<head>
3+
<title>NativTV</title>
4+
<meta charSet="utf-8"/><link rel="icon" href="favicon.ico"/><meta name="viewport" content="width=device-width, initial-scale=1"/>
5+
<meta http-equiv="x-ua-compatible" content="IE=edge">
6+
<link href="https://vjs.zencdn.net/8.23.4/video-js.css" rel="stylesheet" />
7+
<link href="node_modules/video.js/dist/video-js.css" rel="stylesheet">
8+
<link href="dist/videojs-playlist-ui.css" rel="stylesheet">
9+
<script src="https://vjs.zencdn.net/8.23.4/video.min.js"></script>
10+
<script src="path/to/videojs-playlist/dist/videojs-playlist.js"></script>
11+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r76/three.js"></script>
12+
13+
<style>
14+
body {
15+
margin: 0;
16+
font-family: sans-serif;
17+
background-color: #f4f4f4;
18+
}
19+
h1 {
20+
text-align: center
21+
}
22+
23+
.flex-container {
24+
display: flex;
25+
flex-wrap: wrap;
26+
justify-content: center;
27+
gap: 10px;
28+
padding: 10px;
29+
}
30+
31+
.flex-item {
32+
background-color: #fff;
33+
border-radius: 8px;
34+
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
35+
padding: 20px;
36+
flex: 1 1 300px;
37+
max-width: 400px;
38+
text-align: center;
39+
}
40+
.flex-item h1 {
41+
margin-top: 0;
42+
color: #333;
43+
text-align: center
44+
}
45+
.flex-item h2 {
46+
margin-top: 0;
47+
color: #333;
48+
text-align: center
49+
}
50+
.header {
51+
height:100px;
52+
margin-bottom:10px;
53+
background-color:#D3D3D3;
54+
text-align: center;
55+
}
56+
.content {
57+
width:690px;
58+
height:450px;
59+
background-color:#0d7963;
60+
float:right;
61+
}
62+
63+
.sidebar {
64+
width:275px;
65+
height:450px;
66+
background-color:#0d7963;
67+
float:left;
68+
}
69+
.flex-item p {
70+
color: #666;
71+
}
72+
.container {
73+
margin: 30px;
74+
text-align: center;
75+
display: inline-flex;
76+
}
77+
78+
@media (max-width: 800px) {
79+
.flex-item-right, .flex-item-left {
80+
flex: 100%;
81+
}
82+
}
83+
</style>
84+
<!-- Header -->
85+
<div class="header">
86+
<div class="row">
87+
<img class="logo" src="NativTv.png" width="90px" height="90px" alt="logo">
88+
</div>
89+
</div>
90+
</head>
91+
<h1 class="inline-flex items-center justify-center">Live Match Centre : </h1>
92+
<body>
93+
<noscript>You need to enable JavaScript to run this app.</noscript>
94+
<div class="flex-container">
95+
<div class="row">
96+
<div class="column">
97+
<div class="player-container">
98+
<video id="video" class="video-js" height="400" width="700" controls autoplay muted>
99+
<source src="http://fl3.moveonjoy.com/USA_NETWORK/index.m3u8" type="application/x-mpegURL" />
100+
<data-playlist="">
101+
</video>
102+
</div>
103+
</div>
104+
</div>
105+
</div>
106+
<div class="vjs-playlist">
107+
<!--
108+
The contents of this element will be filled based on the
109+
currently loaded playlist
110+
-->
111+
</div>
112+
<script src="m3uStreamPlayer.js"></script>
113+
<script src="node_modules/video.js/dist/video.js"></script>
114+
<script src="node_modules/videojs-playlist/dist/videojs-playlist.js"></script>
115+
<script src="dist/videojs-playlist-ui.js"></script>
116+
<script>
117+
var player = videojs('video');
118+
</script>
119+
</body>
120+
</html>

0 commit comments

Comments
 (0)