-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
237 lines (218 loc) · 8.98 KB
/
Copy pathindex.html
File metadata and controls
237 lines (218 loc) · 8.98 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>BlueDuck</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css">
<link rel="stylesheet" href="src/styles/index.css">
</head>
<body>
<div id="yd-package-loader" style="display: none;">
<div class="container">
<div class="level yd-container-level">
<div class="loader" style="height: 3.5em; width: 3.5em; margin-bottom: 5%"></div>
<div class="content">
<h2 class="has-text-centered" style="font-weight: 900;font-size: 36px;">
Initializing...
</h2>
<p class="has-text-centered" style="font-size: 20px;">
It usually takes around a couple of seconds.
</p>
</div>
</div>
</div>
</div>
<div id="yd-welcome-screen" style="display: none">
<div style="max-width: 400px" class="container">
<div class="level yd-container-level">
<a class="button is-black yd-start-now-btn is-medium">Zapni</a>
</div>
</div>
</div>
<div id="yd-inst-login" style="display: none;">
<div style="max-width: 400px" class="main container">
<div class="level">
<div class="content">
<h2 class="has-text-centered" style="font-weight: 900; font-size: 30px;">
Login to Instagram
</h2>
</div>
</div>
<div class="level">
<div class="level-item">
<form>
<p style="display: none; padding-bottom: 1em" id="yd-login-error" class="has-text-centered has-text-danger">
</p>
<div class="field">
<label class="label is-small">Phone number, username, or email</label>
<div class="control">
<input class="input" id="username" type="text" name="login">
</div>
</div>
<div class="field">
<label class="label is-small">Password</label>
<div class="control">
<input class="input" id="password" type="password" name="password">
</div>
</div>
<div class="field mt" style="display: none">
<label class="checkbox">
<input type="checkbox" name="allow-commenting" id="yd-auth-remember-me" style="margin-right: .6em;">
Remember me
</label>
</div>
<button type="submit" class="button is-black is-fullwidth yd-login-btn">Log In & Start</button>
</form>
</div>
</div>
</div>
</div>
<div id="yd-connect-screen" style="display: none;">
<div class="container is-flex" style="justify-content: center; margin-top: -20px;">
<div class="level-left yd-container-level">
<div class="content" style="padding-right: 1.5em">
<h2>
Connect!
</h2>
<p class="has-text-centered">
<ol style="margin-left: 1em">
<li>Open Instagram on your device.</li>
<li>Select <strong>"This Was Me"</strong> to confirm an attempt.</li>
<li>Click the <strong>"Next"</strong> button bellow.</li>
</ol>
</p>
<a class="button is-black yd-next-btn">Next</a>
</div>
</div>
<div class="level-right yd-container-level">
<img src="./instagram-cnf.png" width="190" alt="instagram">
</div>
</div>
</div>
<div id="yd-profile-data" style="display: none;">
<div style="width: 400px" class="container flex flex-col items-center">
<div class="level content flex flex-row items-center justify-start w-full">
<h4 id="yd-username" class="yd-username ml"></h4>
<div class="flex-fill"></div>
<button id="yd-logout-btn" class="button is-black" type="button">
Logout
</button>
</div>
<p style="display: none; padding-bottom: 1em" id="yd-broadcast-error" class="has-text-centered has-text-danger"></p>
<div id="yd-stream-loader" class="loader" style="height: 3.5em; width: 3.5em; margin-bottom: 5%"></div>
<div id="yd-create-stream-container" style="display: none;">
<div class="flex flex-col items-center justify-center mb w-full">
<button id="yd-create-stream-btn" class="button is-black" type="button">
Create new broadcast
</button>
</div>
</div>
<div id="yt-stream-credentials" style="display: none">
<div id="yt-stream-status">NOT STARTED</div>
<div class="level">
<div class="level-item">
<form>
<div class="field">
<label class="label is-small" for="rtmp-url">RTMP URL</label>
<div class="control">
<input style="padding-right: 30px" readonly class="input" id="rtmp-url" type="text" name="rtmp-url">
<img class="yd-cc-icon" id="yd-copy-rtmp-url" src="https://img.icons8.com/material/24/000000/copy.png">
</div>
</div>
<div class="field">
<label class="label is-small" for="stream-key">Stream key</label>
<div class="control">
<input style="padding-right: 30px" readonly class="input" id="stream-key" type="password" name="stream-key">
<img class="yd-cc-icon" id="yd-copy-stream-key" src="https://img.icons8.com/material/24/000000/copy.png">
</div>
</div>
</form>
</div>
</div>
<div class="level">
<div class="level-item">
<div class="box is-shadowless" style="background-color: gainsboro; padding: 0.75em;">
Copy the RTMP URL and Stream Key above and paste them into your
broadcasting software <strong>each time you want to stream</strong>.
</div>
</div>
</div>
<div id="yd-start-stream-container">
<div class="flex flex-col items-center justify-center mb w-full">
<button id="yd-start-stream-btn" class="button is-black" type="button">
Start broadcast
</button>
<div class="field mt" style="display: none">
<label class="checkbox">
<input type="checkbox" checked name="send-notification" id="yd-send-notification" style="margin-right: .6em;">
Send notification
</label>
</div>
<div class="field mt">
<label class="checkbox">
<input type="checkbox" checked name="allow-commenting" id="yd-allow-commenting" style="margin-right: .6em;">
Allow commenting
</label>
</div>
</div>
</div>
<div id="yd-stop-stream-container" style="display: none;">
<div class="flex flex-col items-center justify-center mb w-full">
<button id="yd-stop-stream-btn" class="button is-black" type="button">
Stop broadcast
</button>
</div>
</div>
</div>
</div>
</div>
<div id="yd-stop-confirm" style="display: none;">
<div class="container">
<div class="level yd-container-level">
<div class="content">
<h1 style="padding-bottom: .5em" class="has-text-centered">
Are you sure you want to finish?
</h1>
<div class="is-flex" style="justify-content: center;">
<button style="margin: .2em" class="button is-medium is-black yd-confirm-logout-btn">Finish</button>
<button style="margin: .2em" class="button is-medium yd-cancel-logout-btn">Cancel</button>
</div>
<div class="has-text-centered" style="padding-top: 1em">
⚠️Attention! Your stream will be ended.
</div>
</div>
</div>
</div>
</div>
<div id="yd-crash-screen" style="display: none;">
<div class="container">
<div class="level yd-container-level">
<div class="content">
<div style="text-align: center;">
<img class="yd-image-sad" src="yd-yellow-duck-1.png" alt="😢" />
</div>
<h2 class="has-text-centered" style="font-weight: 900;font-size: 36px;">
Oops! An error has occured.
</h2>
<p class="has-text-centered" style="font-size: 20px;">
Please, restart the application to get latest update.
</p>
</div>
</div>
</div>
</div>
<footer class="footer yd-footer">
<div class="level is-flex">
<div class="level-left">
<span class="has-text-grey-lighter">
bluenation.studio, <span id="yd-year">2022</span>
</span>
</div>
</div>
</footer>
<div class="notification is-success yd-cc-notif">
✅Copied to your clipboard.
</div>
<script src="src/scripts/pages/index.js"></script>
</body>
</html>