Fixed some loading-perforamance for soundcloud player

This commit is contained in:
Kasper Rynning-Tønnesen
2018-08-08 15:37:01 +02:00
parent 1aafdf2d86
commit f03c53ce2a
5 changed files with 48 additions and 2 deletions

View File

@@ -698,7 +698,7 @@ var Player = {
try {
scPlaying = Player.soundcloud_player.isPlaying();
} catch(e){}
resizePlaylistPlaying(Player.player.getPlayerState() == YT.PlayerState.PLAYING || scPlaying || Player.player.getPlayerState() == YT.PlayerState.BUFFERING);
resizePlaylistPlaying(scPlaying);
}
Helper.css("#playpause", "visibility", "visible");