-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
325 lines (312 loc) · 12.7 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
<html>
<head>
<title>DaddyRobot's MixPlay!</title>
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"
></script>
<script
src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"
integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU="
crossorigin="anonymous"
></script>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
crossorigin="anonymous"
/>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
crossorigin="anonymous"
></script>
<meta name="theme-color" content="#563d7c" />
<link rel="stylesheet" href="./css/mystyle.css" />
<link rel="stylesheet" href="./css/team-viewer.css" />
</head>
<body class="text-center">
<div class="cover-container">
<header class="masthead">
<div class="inner">
<h3 class="masthead-brand">Daddy Robot's MixPlay Fun</h3>
<nav class="nav nav-masthead justify-content-center">
<a class="nav-link active" href="https://mixer.com/daddyrobot"
>DR's Mixer</a
>
<a class="nav-link" href="https://twitter.com/daddyrobotlive"
>DR's Twitter</a
>
<a class="nav-link" href="https://streamalerts.app"
>DR's Shopify App</a
>
</nav>
</div>
</header>
<div class="maincontainer" style="flex-shrink: 2;">
<main role="main" id="welcome" class="inner cover">
<h1 class="cover-heading">Welcome to Daddy Robot's MixPlay Fun!</h1>
<p class="lead">
Pick a MixPlay - Connect To Your Mixer Account - Give New MixPlay
Experiences for your Viewers!
</p>
<p class="lead">
<a href="#" onclick="letsgo()" class="btn btn-lg btn-secondary"
>Let's Go!</a
>
</p>
</main>
<main role="main" id="selectmixplay" class="" style="display: none;">
<h1 class="cover-heading">Pick a MixPlay Experience</h1>
<div class="mixplaygrid">
<div onclick="pickmixplay('destiny2')" class="mixplay">
<img src="./images/destiny2.png" />
<div class="lead mixplayinfo">
<em class="mixplaytitle">Destiny 2 Stats!</em><br />
This mixplay shows your characters and their stats on your
stream! Easy & Quick! Created with help from
<a href="https://www.mixer.com/JakeParker">@JakeParker!</a>
<div class="mixplaystat" id="destiny2-mps"></div>
</div>
</div>
<div onclick="pickmixplay('spark-dump')" class="mixplay">
<img src="./images/spark-dump.png" />
<div class="lead mixplayinfo">
<em class="mixplaytitle">Spark Dump MixPlay!</em><br />
Allow your users to dump as many sparks as they want on your
stream! It comes with some fun effects for everyone when someone
does the dump.
<div class="mixplaystat" id="spark-dump-mps"></div>
</div>
</div>
<div onclick="pickmixplay('contest')" class="mixplay">
<img src="./images/contest.png" />
<div class="lead mixplayinfo">
<em class="mixplaytitle">Contest / Giveaway MixPlay!</em><br />
This mixplay allows you to run a quick contest/giveaway in your
stream using MixPlay and Chat! You can pick how fast it ends and
even knock people out one at a time. Your viewers don't need
MixPlay to participate!
<div class="mixplaystat" id="contest-mps"></div>
</div>
</div>
<div onclick="pickmixplay('blockrain')" class="mixplay">
<img src="./images/blockrain.png" />
<div class="lead mixplayinfo">
<em class="mixplaytitle">Blockrain Mixplay!</em><br />
This mixplay let's your viewers play BlockRain on their screen!
It even keeps a leaderboard!
<div class="mixplaystat" id="blockrain-mps"></div>
</div>
</div>
<div class="mixplay" onclick="pickmixplay('social-me')">
<img src="./images/social-me.png" />
<div class="lead mixplayinfo">
<em class="mixplaytitle">Social Me MixPlay!</em><br />
This MixPlay will show all your social links in a bar on the
side!
<div class="mixplaystat" id="social-me-mps"></div>
</div>
</div>
<div onclick="pickmixplay('team-viewer')" class="mixplay">
<img src="./images/team-viewer.png" />
<div class="lead mixplayinfo">
<em class="mixplaytitle">Team Viewer MixPlay!</em><br />
Show off a Mixer Team in Style! Pick one then start the MixPlay!
<div class="mixplaystat" id="team-viewer-mps"></div>
</div>
</div>
<div onclick="pickmixplay('chat-shooter')" class="mixplay">
<img src="./images/chat-shooter.png" />
<div class="lead mixplayinfo">
<em class="mixplaytitle">Chat Shooter MixPlay!</em><br />
This mixplay makes all chat messages to your stream appear on
the stream and allows users to click on them for points. It also
has a leaderboard that you can reset at any time.
<div class="mixplaystat" id="chat-shooter-mps"></div>
</div>
</div>
<div onclick="pickmixplay('draw-on-me')" class="mixplay">
<img src="./images/draw-on-me.png" />
<div class="lead mixplayinfo">
<em class="mixplaytitle">Draw On Me Mixplay!</em><br />
This mixplay puts a drawing canvas over your screen so your
viewers can draw pictures on top of you.
<div class="mixplaystat" id="draw-on-me-mps"></div>
</div>
</div>
<div onclick="pickmixplay('test-stuff')" class="mixplay">
<img src="./images/test-stuff.png" />
<div class="lead mixplayinfo">
<em class="mixplaytitle">Testing Stuff on MixPlay!</em><br />
This is just the MixPlay I use to test things. That's it. No
promises to what it does.
<div class="mixplaystat" id="test-stuff-mps"></div>
</div>
</div>
</div>
</main>
<!-- Next section only shows if a mixplay needs a setting before load (currently none do) -->
<main
role="main"
id="mixplaysettings"
class="inner cover"
style="display: none;"
>
<h1 class="cover-heading">Pick Initial Settings for the mixplay!</h1>
<div class="lead">
<div class="destiny2 ms">
Search for an Account!<br />
<input type="text" size="20" id="d2playerName" />
<button id="d2search" onclick="d2SearchForPlayer()">
Search!
</button>
<br />
<br />
<span id="d2_loading" style="display: none;">Loading...</span>
<br />
<label for="d2players">Pick Account:</label>
<select id="d2players"> </select>
</div>
</div>
<p class="lead">
<a
href="#"
onclick="backtomixplaypick()"
class="btn btn-lg btn-secondary"
>Back!</a
>
<a href="#" onclick="oauthtime()" class="btn btn-lg btn-secondary"
>Next!</a
>
</p>
</main>
<!-- This is the section that does the authentication -->
<main
role="main"
id="startingblock"
class="inner cover"
style="display: none;"
>
<h1 class="cover-heading">Ready to start the show!</h1>
<div class="lead">
<div id="rememberingstuff"></div>
<div
id="rememberd"
>
<div>
You are currently logged in as
<span class="rememberedname" id="myname"></span>.
</div>
<button
class="btn btn-lg btn-secondary btn-fit-content"
onclick="ForgetMe()"
>
Forget My Info
</button>
</div>
<input type="checkbox" class="rememberme" id="rememberme" />
<label class="rememberme" for="rememberme"
>Remember my login?</label
>
<br />
</div>
<p class="lead">
<a
href="#"
onclick="backtomixplaysettings()"
class="btn btn-lg btn-secondary"
>Back!</a
>
<a href="#" onClick="startOauth()" class="btn btn-lg btn-secondary"
>Connect & Go!</a
>
</p>
</main>
<!-- This is the section that shows the control of the mixplay while running and the log file -->
<main
role="main"
id="mixplaycontrols"
class="inner cover"
style="display: none;"
>
<h1 class="cover-heading">Controls & Logs</h1>
<div class="lead">
<!-- Chat Shooter Controls -->
<button class="contest ms" onclick="openContest()">
Open Contest!
</button>
<button class="contest ms" onclick="knockOneOutOfContest()">
Eliminate a Contestant!
</button>
<button class="contest ms" onclick="autoFinishContest()">
Make the contest auto finish!
</button>
<button class="contest ms" onclick="stopAutoFinishContest()">
Stop auto finish!
</button>
<button class="chat-shooter ms" onclick="chatShooterReset()">
Reset Scores
</button>
<button class="blockrain ms" onclick="brReset()">
Reset Scores
</button>
<!-- Team Viewer Controls-->
<div class="team-viewer ms">
<p>
Click on one of your teams or type in a team token (The
shortened name like "partners" or "passion"):
</p>
</div>
<div class="team-viewer ms team-viewer-controls">
<div id="myteams" class="team-viewer ms team-viewer-imgs"></div>
<div>
<input type="text" id="team" size="30" />
<button onclick="tvSendTeam()">
Show Team!
</button>
</div>
</div>
<!-- End of Controls -->
</div>
<div class="lead logging-section">
Any logging data will show below:
<table id="logtable">
<tbody id="logtablebody"></tbody>
</table>
</div>
</main>
</div>
<footer class="mastfoot">
<div class="inner">
<p>
Close this site and it will close the MixPlay. Thank you for using
this and please let others know about it. This site stores usernames
of who ran each mixplay and that is all.<br />
<a href="https://github.com/tiedyedguy/DaddyRobot-MixPlay-MainPage"
>Also, HERE IS THE SOURCE CODE TO IT ALL!</a
>
</p>
</div>
</footer>
</div>
<script src="./js/interactive.js"></script>
<script src="./js/app.js"></script>
<script src="./js/chatshooter.js"></script>
<script src="./js/draw-on-me.js"></script>
<script src="./js/social-me.js"></script>
<script src="./js/team-viewer.js"></script>
<script src="./js/test-stuff.js"></script>
<script src="./js/spark-dump.js"></script>
<script src="./js/blockrain.js"></script>
<script src="./js/contest.js"></script>
<script src="./js/destiny2.js"></script>
<script src="./js/destiny2helper.js"></script>
</body>
</html>