-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtwitch.html
56 lines (53 loc) · 2.44 KB
/
twitch.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
<!DOCTYPE html>
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="default-src 'self';style-src 'self' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com;">
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self';style-src 'self' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com;">
<meta name="description" content="Simulate a lively, fake Twitch chat that displays similar to Streamlabs OBS's twitch chat plugin." />
<title>Autopog</title>
<link rel='stylesheet prefetch' href='./node_modules/bulma/css/bulma.min.css'>
<link rel="stylesheet" type="text/css" href="./css/twitch.css">
<link rel="stylesheet" type="text/css" href="./css/recordingbutton.css">
<link rel="icon" href="./icon.png">
</head>
<body>
<div id="notchat">
<div id="settings">
<button id="clearButton" class="button">clear</button>
<button id="spamButton" class="button">stop spamming</button>
<button id="chatButtonToggle" class="button">Toggle chat comments</button>
<h3>type of spam</h3>
<div class="select">
<select id="selectspamtype" aria-label="Select Twitch chat spam type">
<option value="laughing">Laughing</option>
<option value="positive">Positive (CS)</option>
<option value="negative">Negative (CS)</option>
<option value="jams">Jams</option>
<option value="weebs">Weebs In</option>
</select>
</div>
<h3>speed</h3>
<input type="range" id="selectspeed" aria-label="Twitch chat message speed slider">
<hr>
<p>Speech to Text Recognition</p>
<div id="recordingbutton" class="recordingbutton"></div>
<canvas id="meter" width="200" height="50"></canvas>
<label for="output">Your Output: </label>
<p id="output">[Off]</p>
</div>
</div>
<div id="chat">
<div id="chattext"></div>
<div id="input">
<input type="text" id="textfield" class="TEMPTEMP" placeholder="Send a message" aria-label="send Twitch chat message">
<button id="chatButton">Chat</button>
</div>
</div>
<script src="./node_modules/jquery/dist/jquery.min.js"></script>
<script src="./js/volumeMeter.js"></script>
<script src="./js/twitchData.js"></script>
<script src="./js/twitch.js"></script>
</body>
</html>