Fixed scaling issues with chat and soundcloud players on resizing

This commit is contained in:
Kasper Rynning-Tønnesen
2018-06-28 16:51:31 +02:00
parent 1881703fd8
commit 28f7b36730
4 changed files with 22 additions and 4 deletions

View File

@@ -626,6 +626,9 @@ var Player = {
end_programmatically = false;
} else {
was_stopped = true;
if(!embed && !client && window.location.pathname != "/") {
resizePlaylistPlaying(false);
}
if(!chromecastAvailable){
if(Helper.mobilecheck()) {
Helper.css("#playpause", "visibility", "visible");
@@ -665,6 +668,10 @@ var Player = {
//}
}
if(!embed && !client && window.location.pathname != "/") {
resizePlaylistPlaying(true);
}
Helper.css("#playpause", "visibility", "visible");
Helper.css("#playpause", "pointer-events", "all");
playing = true;