-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
342 lines (305 loc) · 25.2 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
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="./public/modal-style.css">
<link rel="stylesheet" href="./public/style.css">
<link rel="stylesheet" href="./toast/toast.css">
<!-- JQ -->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous">
</script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous">
</script>
<!-- My scripts -->
<script src="./source/config.js" defer></script>
<script src="./source/player/player.js" defer></script>
<script src="./source/audio_api/voice.js" defer></script>
<script src="./source/modal.js" defer></script>
<script src="./source/alert.js" defer></script>
<script src="./source/index.js" defer></script>
<script src="./toast/toast.js" defer></script>
<title>aMusMe</title>
</head>
<!-- Modal -->
<div class="modal fade bd-example-modal-sm" id="resultModal" tabindex="-1" role="dialog"
aria-labelledby="searchModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="searchModalLabel">Is it your song?</h5>
</div>
<div class="modal-body text-center">
<div id="player"></div>
<div class="song-metadata">
<table class="table table-borderless table-sm">
<tr>
<th>Title</th>
<td id="title">songName</td>
</tr>
<tr>
<th>Author</th>
<td id="author">songAuthor</td>
</tr>
<tr id="link-row">
<th>Song link in deezer</th>
<td><a href="#" target="_blank" id="link">Here</a></td>
</tr>
</table>
</div>
</div>
<div class="modal-footer">
<div class="container">
<div class="row">
<div class="col">
<button type="button" class="pink-btn" data-dismiss="modal"
id="supposeConfirmButton">Yes</button>
</div>
<div class="col text-right">
<button type="button" class="pink-btn pink-btn-warn" data-dismiss="modal"
id="supposeRejectButton">No</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Body -->
<body>
<div class="container">
<div class="row">
<div class="col-md-12 col-lg-7 col-sm-12 col-xl-7 first-column">
<div class="section-result mx-auto">
<div class="container ">
<div class="row ">
<div class="col-md-6 col-lg-5 col-xl-6 col-sm-12 ">
<table class="table table-striped table-borderless table-dark ">
<tbody id="resultsTable">
<!-- <tr>
<th scope="row">1</th>
<td>Mark</td>
</tr> -->
</tbody>
</table>
</div>
<div class="col-md-6 col-lg-7 col-xl-6 col-sm-12 mx-auto">
<div id="playerContainer" class="player mx-auto" style="display: none;">
<iframe scrolling="no" frameborder="0" allowTransparency="true" id="${id}"
src="https://www.deezer.com/plugins/player?format=square&autoplay=false&playlist=false&width=300&height=300&color=ff0000&layout=dark&size=medium&type=tracks&id=569376&app_id=1"
width="230" height="230"></iframe>
<!-- 230 - значение для дефолтной страницы. 270 для модалки, дефолтное значение функции 270 -->
</div>
<div id="playerPlaceholder" class="readme mx-auto">
<img style="width: 100%;"
src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgICAgICAgICAgICAoICAgICA8ICQgKIB0iFiAdExMkKDQsJCYxJx8TLT0tMTU3OjovIys3PDQ4SjQ5LzABCgoKDg0OGRAQGzEiICYtNy03Mi03LjcuLi43Ny00NzcrKy0tLSstKys3MC0rLzc3LSsrLTUrKy0tMTctLS4rLP/AABEIAKkBEQMBIgACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAABQYDBAcCAf/EAE4QAAAFAgIEBwwHBwIEBwAAAAABAgMEBRESIQYTMdEUFTJBUVWVByIjVGFxc3aRkpSzFkNTgZOy8CQzQkRS0uGjwSU1ofFydIKipLG0/8QAGgEBAQEBAQEBAAAAAAAAAAAAAAECAwQGBf/EACoRAQABAwMDAwMFAQAAAAA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4OOHOptIuxH9wvwBgyoPHDnU2kXYj+4OOHOptIuxH9wvwBgyoPHDnU2kXYj+4OOHOptIuxH9wvwBgyoPHDnU2kXYj+4OOHOptIuxH9wvwBgyoPHDnU2kXYj+4OOHOptIuxH9wvwBgyoPHDnU2kXYj+4OOHOptIuxH9wvwCdMGVB44c6m0i7Ef3Bxw51NpF2I/uF+AXBlQeOHOptIuxH9wccOdTaRdiP7hfgDBlQeOHOptIuxH9wccOdTaRdiP7hfgDBlQeOHOptIuxH9wccOdTaRdiP7hfgDBlQeOHOptIuxH9wccOdTaRdiP7hfgDBlQeOF9TaRdiP7hrSpEifIpLTVJrbRtVunSHHJFJfZaQ2lZGZmq1iyHRwDBkAAFR/9k="
alt="">
</div>
</div>
</div>
<div class="row">
<div class="mx-auto">
<p id="score" class="mt-2">your score: 243</p>
</div>
</div>
</div>
</div>
<!-- <div class="alertbox" style="display:none">
THIS IS ALERTBOX
</div> -->
</div>
<div class="col-md-12 col-lg-5 col-sm-12 col-xl-5 second-column">
<div class="section-search text-center mx-auto">
<div class="container-fluid">
<!-- <div class="row">
<div id="soundBlock" style="display: none; width: 100%;">
<div class="col-12 text-center">
<button class="btn micro-btn pink-btn" id="searchByVoiceButton" onclick="alertStartRecording()"><i class="fas fa-microphone" style="font-size: 4em;"></i></button>
</div>
<div class="col-3">
<button onclick="alertChangeGamemode()" class="btn"><i class="fas fa-arrow-right"></i></button>
</div>
</div>
</div>
<div class="row">
<div id="textBlock" style="display: none; width: 100%;">
<div class="col-12 text-center">
<div id="text-container">
<textarea placeholder="Enter lyrics or name of song you want to find" class="form-control" id="searchByLyricsInput" rows="6"></textarea>
</div>
</div>
<div class="row mt-3">
<div class="col-9">
<button class="btn btn-block" id="searchByLyricsButton">Search by text</button>
</div>
<div class="col-3">
<button onclick="alertChangeGamemode()" class="btn"><i class="fas fa-arrow-right"></i></button>
</div>
</div>
</div>
</div> -->
<div class="row">
<div class="col-12">
<div id="soundBlock" class="text-center" style="display: none; width: 100%;">
<button class="btn micro-btn pink-btn" id="searchByVoiceButton"
onclick="alertStartRecording()"><i class="fas fa-microphone"
style="font-size: 4em;"></i></button>
</div>
<div id="textBlock" style="display: none; width: 100%;">
<div id="text-container">
<textarea placeholder="Enter lyrics or name of song you want to find"
class="form-control" id="searchByLyricsInput" rows="6"></textarea>
</div>
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-9">
<button class="btn btn-block" id="searchByLyricsButton">Search by text</button>
</div>
<div class="col-3">
<button onclick="alertChangeGamemode()" class="btn"><i class="fas fa-arrow-right"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://kit.fontawesome.com/44e5838acf.js" crossorigin="anonymous"></script>
</body>
</html>
<div class="modal fade bd-example-modal-sm" id="victoryModal" tabindex="-1" role="dialog"
aria-labelledby="searchModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="searchModalLabel">You overcome aMusMe!</h5>
</div>
<div class="modal-body px-2">
<img src="https://i.gifer.com/4NWG.gif" alt="victory gif">
</div>
<div class="modal-footer ">
<div class="container mx-auto text-center">
<button type="button" class="pink-btn" data-dismiss="modal" id="supposeConfirmButton">Ok</button>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade bd-example-modal-sm" id="loseModal" tabindex="-1" role="dialog"
aria-labelledby="searchModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<h6 class="modal-title" id="searchModalLabel">aMusMe was stronger, you lose</h6>
</div>
<div class="modal-body px-2">
<img src="https://media.tenor.com/images/dac79996006d7dd97e7097c2662bab74/tenor.gif"
style="width: 100%;" alt="lose gif">
</div>
<div class="modal-footer ">
<div class="container mx-auto text-center">
<button type="button" class="pink-btn" data-dismiss="modal" id="supposeConfirmButton">Ok</button>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade bd-example-modal-sm" id="songNotFoundModal" tabindex="-1" role="dialog"
aria-labelledby="searchModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content text-center" style="padding: 8px;">
<h5 class="modal-title" id="searchModalLabel">Sorry, song was not found</h5>
<p class="pt-2">Please, try to change your query</p>
<button type="button" class="pink-btn" data-dismiss="modal" id="supposeConfirmButton">Ok</button>
</div>
</div>
</div>
<div class="modal fade bd-example-modal-sm recording-modal" id="recordingModal" tabindex="-1" role="dialog"
aria-labelledby="searchModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header" style="border: none;">
<h5 class="modal-title" id="recordingModalLabel"></h5>
</div>
<div id="recording-btn" class="modal-body px-2 text-center" style="height: 168px;" style="border: none;">
<button class="btn recording-btn" onclick="alertStopRecording()"><i
class="fas fa-microphone"></i></button>
</div>
<div id="recordingModalFooter" class="modal-footer" style="display: none;">
<div class="container mx-auto text-center mb-0 pb-0">
<button type="button" class="pink-btn" onclick="setTimeout(() => toDefault(), 1000)"
data-dismiss="modal" id="supposeConfirmButton">Ok</button>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade bd-example-modal-sm recording-modal" id="choosingModal" tabindex="-1" role="dialog"
aria-labelledby="searchModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header" style="border: none;">
<h5 class="modal-title" id="recordingModalLabel">Choose your gamemode</h5>
</div>
<p class="text-left" style="margin: 0 15px;">
Hello. I'm aMusMe. Play agaist me in two game modes! Choose microphone to search for songs by audio or
text to choose by lyrics. If I fails 5 times you win, otherwise celebrate the domination! You can change
mode in any time but loose the proggress. Good
luck!
</p>
<div class="modal-footer">
<div class="container">
<div class="row">
<div class="col">
<button type="button" class="pink-btn" onclick="gmSound()" data-dismiss="modal"
id="supposeConfirmButton">Sound</button>
</div>
<div class="col text-right">
<button type="button" class="pink-btn pink-btn-warn" onclick="gmText()" data-dismiss="modal"
id="supposeRejectButton">Text</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade bd-example-modal-sm recording-modal" id="gmChangingModal" tabindex="-1" role="dialog"
aria-labelledby="searchModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header" style="border: none;">
<h5 class="modal-title" id="recordingModalLabel">Do you really want to change gamemode? The progress
will be lost</h5>
</div>
<div class="modal-footer">
<div class="container">
<div class="row">
<div class="col">
<button type="button" class="pink-btn" onclick="changeGamemode()" data-dismiss="modal"
id="supposeConfirmButton">Yes</button>
</div>
<div class="col text-right">
<button type="button" class="pink-btn pink-btn-warn" data-dismiss="modal"
id="supposeRejectButton">No</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>