mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Display and hide on frontpage only not working
This commit is contained in:
@@ -55,10 +55,9 @@ socket.on(chan.toLowerCase()+",np", function(obj)
|
||||
console.log(seekTo);
|
||||
if(player_ready)
|
||||
{
|
||||
if(!playing){
|
||||
if(ytplayer.getVideoUrl().split('v=')[1] != video_id)
|
||||
ytplayer.loadVideoById(video_id);
|
||||
ytplayer.playVideo();
|
||||
}
|
||||
ytplayer.playVideo();
|
||||
ytplayer.seekTo(seekTo);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user