This repository has been archived by the owner on Jul 26, 2022. It is now read-only.
forked from OVZRIP/livestream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
126 lines (110 loc) · 5.69 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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="theme-color" content="#272727">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Live Stream | WooMai Labs</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha256-Ww++W3rXBfapN8SZitAvc9jw2Xb+Ixt0rvDsmWmQyTo=" crossorigin="anonymous">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=MuseoModerno:wght@700&display=swap">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css"
integrity="sha256-FMvZuGapsJLjouA6k7Eo2lusoAX9i0ShlWFG6qt7SLc=" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/live.css">
</head>
<body>
<nav class="navbar navbar-expand-sm static-top shadow text-white select-none" style="background-color: #272727;">
<div class="container">
<div class="navbar-brand navbar-logo d-none d-sm-block">
<span style="font-family: 'MuseoModerno', cursive; font-size: 28px;">Live Stream</span>
<span style="font-size: 14px;">Powered by WooMai Labs</span>
</div>
<div class="navbar-brand navbar-logo d-block d-sm-none">
<span style="font-family: 'MuseoModerno', cursive; font-size: 28px;">WooMai Live</span>
</div>
</div>
</nav>
<div class="container" id="main">
<div class="row mt-4">
<div class="col">
<h2 id="title">Live Stream</h2>
<p>Streamer: <span id="streamer">Loading ...</span></p>
</div>
<div class="col text-right">
<p>
<i class="fas fa-user"></i>
<span id="viewers">Loading</span>
</p>
<p>
<button type="button" class="btn btn-sm btn-outline-dark copy-url" id="copy_url">
<i class="fas fa-share-alt"></i> Share
</button>
</p>
</div>
</div>
<div class="row">
<div class="player">
<div id="dplayer"></div>
</div>
<div class="livechat">
<div id="chat"
style="border: 1px solid #e9eaec; padding: 14px; background-color: white; position: relative;">
<div class="row mt-1">
<div class="col">
<h5 class="mb-0">Live Chat</h5>
</div>
</div>
<hr class="mb-1">
<div id="comments">
<div class="row mt-2">
<div class="col">
<p>Loading ...</p>
</div>
</div>
</div>
<div id="sendmsg" style="position: absolute; margin-bottom: 15px; right: 0; bottom: 0; left: 0;">
<hr style="margin-left: 15px; margin-right: 15px;">
<div class="row" style="padding-left: 15px; padding-right: 15px;">
<div class="col">
<div class="input-group">
<input type="text" class="form-control" placeholder="Say something ..." id="msg">
<div class="input-group-append">
<button class="btn btn-outline-secondary" type="button" id="send">Send</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container text-center" id="err_div" style="display: none;">
<div class="row" style="margin-top: 250px; margin-bottom: 400px;">
<div class="col">
<h2 id="err_title">Something went wrong</h2>
<p id="err_subtitle" class="mt-5">Please refresh this page.</p>
</div>
</div>
</div>
<div class="footer mt-5 mb-4 text-center noselect">
<p><small>Copyright © 2020-2022 WooMai Labs</small></p>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha256-ecWZ3XYM7AwWIaGvSdmipJ2l1F4bN9RXW6zgpeAiZYI=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/tata.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/clipboard.min.js"
integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/hls.min.js"
integrity="sha256-BmZ3MJMa83HuGMGnU5ehbGULwNIZMIFWvwnQ/CJKp3M=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/DPlayer.min.js"
integrity="sha256-OJg03lDZP0NAcl3waC9OT5jEa8XZ8SM2n081Ik953o4=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.all.min.js"
integrity="sha256-I//nGqEYcRlQfWdLiDc5tcWUU3GzGfJpZWs2qsfj3Dk=" crossorigin="anonymous"></script>
<script src="assets/js/tools.js"></script>
<script src="assets/js/live.js"></script>
<script src="assets/js/heartbeat.js"></script>
</body>
</html>