mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying to log out when it stops
This commit is contained in:
@@ -63,7 +63,8 @@ socket.on(chan.toLowerCase()+",np", function(obj)
|
|||||||
notifyUser(video_id, song_title);
|
notifyUser(video_id, song_title);
|
||||||
if(paused)
|
if(paused)
|
||||||
ytplayer.pauseVideo();
|
ytplayer.pauseVideo();
|
||||||
}
|
}else
|
||||||
|
console.log("like");
|
||||||
if(!paused)
|
if(!paused)
|
||||||
ytplayer.playVideo();
|
ytplayer.playVideo();
|
||||||
if(ytplayer.getDuration() > seekTo)
|
if(ytplayer.getDuration() > seekTo)
|
||||||
|
|||||||
Reference in New Issue
Block a user