Trying to log out when it stops

This commit is contained in:
Kasper Rynning-Tønnesen
2015-04-16 20:47:17 +02:00
parent 9baec63a59
commit bb27e3f3f1

View File

@@ -63,7 +63,8 @@ socket.on(chan.toLowerCase()+",np", function(obj)
notifyUser(video_id, song_title);
if(paused)
ytplayer.pauseVideo();
}
}else
console.log("like");
if(!paused)
ytplayer.playVideo();
if(ytplayer.getDuration() > seekTo)