Skip to content

Commit 19b7e87

Browse files
committed
[UBN!] Fix Hanging Loading Screen Error (#112)
Loading screen was hanging because DM changed their api which caused errors.
1 parent c04f58e commit 19b7e87

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ <h2><span id="hostlabel" class="label label-default"><i class="fas fa-user"></i>
152152
<!-- <iframe class="video" id="player" allowfullscreen="0" rel="0" width="640" height="360" src="https://www.youtube.com/embed/M7lc1UVf-VE?enablejsapi=1" frameborder="1" style="border: solid 4px #37474F"></iframe> -->
153153
</div>
154154
<div id='dailyArea'>
155-
<iframe class="video" id="player-daily" frameborder="0" width="640" height="360" allowfullscreen allow="autoplay"></iframe>
155+
<div class="video" id="player-daily"></div>
156156
</div>
157157
<div id='vimeoArea'>
158158
<iframe class="video" id="player-vimeo" src="https://player.vimeo.com/video/76979871" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

js/sync.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,8 @@ function loveLive(roomnum) {
326326
// something new, #cookie jar, lion heart, i will show you, bubble pop, girl front, love cherry motion, ice cream cake
327327
// stay (taeyeon), ordinary love, 11:11, SObeR, I'm so sick, heaven, genie, dinosaur
328328
// Travel, blow your mind, pop/stars, BBIBBI, gotta go, galaxy, my trouble, blue
329-
// love scenario, dance the night away, solo, some, yes or yes, when the wind blows, hi high, don't forget
329+
// love scenario, dance the night away, solo, some, yes or yes, when the wind blows, hi high, don't forget,
330+
// Uh Oh!, Workaholic, 25, through the night, four seasons, bom, runaway, don't
330331
var video_roulette = [
331332
'97uviVyw0_o', 'tIWpr3tHzII', 'WkdtmT8A2iY', 'U7mPqycQ0tQ',
332333
'i0p1bmr0EmE', 'FzVR_fymZw4', 'eNmL4JiGxZQ', 'J_CFBjAyPWE',
@@ -341,12 +342,13 @@ function loveLive(roomnum) {
341342
'xRbPAVnqtcs', '08ATpBqlAIk', 'UOxkGD8qRB4', 'nM0xDI5R50E',
342343
'HlN2BXNJzxA', '9U8uA702xrE', 'JRdcPhDkNYw', 'F34e6LYro-4',
343344
'vecSVX1QYbQ', 'Fm5iP0S1z9w', 'b73BI9eUkjM', 'hZmoMyFXDoI',
344-
'mAKsZ26SabQ', 'o3pOzegB-7w', '846cjX0ZTrk', 'TcytstV1_XE'
345-
345+
'mAKsZ26SabQ', 'o3pOzegB-7w', '846cjX0ZTrk', 'TcytstV1_XE',
346+
'ycYLPbtxU1Q', 'mrAIqeULUL0', 'SNS2tOGGGRk', 'BzYnNdJhZQw',
347+
'4HG_CJzyX6A', 'AsXxuIdpkWM', 'rloIUIKLFfY', 'IB6kViGA3rY'
346348
]
347349

348350
// Random number between 0 and 56 inclusive
349-
var random = Math.floor(Math.random() * (56))
351+
var random = Math.floor(Math.random() * (64))
350352
// Only for YouTube testing
351353
socket.emit('change video', {
352354
room: roomnum,

0 commit comments

Comments
 (0)