-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (49 loc) · 2.05 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="node_modules/video.js/dist/video-js.min.css" />
<link rel="stylesheet" href="css/style.css" />
<title>StreamHub</title>
</head>
<body>
<div class="container py-2">
<div class="row">
<h1>Welcome to StreamHub</h1>
<h5>Select a stream of your choice.</h5>
</div>
<div class="row">
<div class="col">
<div id="alert-no-stream" class="alert alert-secondary fade" role="alert">
No streams available
</div>
<div id="stream-container" class="row row-cols-2 row-cols-lg-4 g-2">
<div class="col card-stream-template">
<div class="card fadeIn">
<video-js
autoplay
muted
class="video-js vjs-live vjs-fluid vjs-16-9"
preload='auto'>
<!-- Sources will be added by JS -->
</video-js>
<div class="card-body">
<h5 class="card-title">Stream 1</h5>
<p class="card-text">Description of Stream 1.</p>
<a class="btn btn-primary">Watch</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="node_modules/video.js/dist/video.min.js"></script>
<script src="js/index.js"></script>
<script src="js/common.js"></script>
</body>
</html>