Skip to content

Commit

Permalink
Fixed loadingscreen not disappearing for slow connections
Browse files Browse the repository at this point in the history
  • Loading branch information
explodingcamera committed Jun 5, 2016
1 parent c89302d commit 957e97b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions webserver/public/lib/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7608,8 +7608,11 @@
},
events: {
'onReady': function(){
if (playerSettings.stream && player.getPlayerState() == -1)
MP.videoNotAvailable();
if (playerSettings.stream && player.getPlayerState() == -1)
MP.videoNotAvailable();
setTimeout(function () {
$(window).load();
}, 1000);
clearInterval(interval);
API.player.getPlayer = function(){
return player;
Expand Down

0 comments on commit 957e97b

Please sign in to comment.