Only removing channel-load on when loaded on mobile

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-15 15:52:33 +01:00
parent e6d9143fa8
commit b4dc90c3ea
2 changed files with 8 additions and 5 deletions

View File

@@ -288,12 +288,12 @@ var Player = {
if(embed && !autoplay) autoplay = true;
if(!window.MSStream) {
$("#player").css("opacity", "1");
if(!Helper.mobilecheck()) {
//if(!Helper.mobilecheck()) {
$("#channel-load").css("display", "none");
/*if(Frontpage.winter && $("#snow").length == 0) {
$("#video-container").prepend('<div id="snow" class="snow-channel"></div>');
}*/
}
//}
}
playing = true;
if(beginning && Helper.mobilecheck() && !chromecastAvailable){