Fixed some minor things on mobile

This commit is contained in:
Kasper Rynning-Tønnesen
2016-05-10 14:30:37 +02:00
parent f1e52ced03
commit b26a8ea716
5 changed files with 12 additions and 10 deletions

View File

@@ -187,7 +187,8 @@ var Player = {
$("#controls").css("opacity", "1");
$(".playlist").css("opacity", "1");
Player.ytplayer.loadVideoById(video_id);
if(autoplay && !window.mobilecheck()) Player.ytplayer.playVideo();
if(autoplay && !window.mobilecheck())
Player.ytplayer.playVideo();
if(!durationBegun)
Player.durationSetter();
if(embed){