-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (74 loc) · 3.12 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="description" content="A bridge for Iranians who are restricted to access twitch.tv.">
<title>Twitch Client</title>
<link rel="icon" href="img/favicon.png">
<link href="css/style.css" rel="stylesheet">
<script src="scripts/tmi.min.js"></script> <!-- https://github.com/tmijs/tmi.js/releases -->
<script src="scripts/script.js"></script>
<script src="scripts/hls/hls.js"></script> <!-- https://cdn.jsdelivr.net/npm/hls.js@latest -->
<script src="scripts/chat.js"></script>
<!--<link href="https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css" rel="stylesheet" type="text/css" />-->
</head>
<body>
<div id="alert"></div>
<div id="settings-cont">
<div class="flex-horiz">
<input type="range" min="0" max="359" value="264" id="set-color-hue">
<button id="set-hue-reset" onclick="resetHue()">Reset</button>
</div>
<div id="set-chatprev" class="flex-horiz">
<div id="set-chatprev-chat">
<input type="number" min="200" max="1000" value="250" id="set-chat-width">
</div>
<div id="set-chatprev-cont">
<div id="set-chatprev-vid">Chat Width</div>
</div>
</div>
<button id="set-submit" onclick="setSub()">Back</button>
</div>
<form target="_self" method="get" class="chnl-pp-bg" id="popup">
<label id="title">---- Viewers, -- Streamers</label>
<div class="chnl-pp-container">
<input name="channel" class="chnl-pp-input" id="chnl-input" placeholder="channel name">
<button type="submit" class="chnl-pp-submit"></button>
</div>
<img id="settings-btn" src="img/settings.svg" onclick="setBtn()">
<div id="explore-grid"></div>
</form>
<div class="video-container" id="video-cont">
<video id="stream" controls autoplay>
<source id="stream-src" type="application/x-mpegURL">
</video>
<!--<div id="controls">
<button onclick="playStream()">▶</button>
</div>-->
<div id="tools">
<button id="back-to-popup" onclick="backToPopup()">Back</button>
<select id="qualityDropdown"></select>
</div>
</div>
<div id="bio">
<div class="bio-info">
<img id="bio-pfp">
<div class="bio-nf">
<div class="bio-name-cont">
<span id="bio-name"></span>
<img id="bio-pfp-badge" src="img/partner.png">
</div>
<span id="bio-follower"></span>
</div>
<div id="bio-social-cont"></div>
</div>
<span id="bio-desc"></span>
</div>
<div class="filler"></div>
<script src="scripts/after_load.js"></script>
<div class="chat-rem"></div>
<div id="chat-container"></div>
</body>
</html>