mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Seekto bugfix
This commit is contained in:
@@ -64,6 +64,7 @@ socket.on(chan.toLowerCase()+",np", function(obj)
|
|||||||
}
|
}
|
||||||
if(!paused)
|
if(!paused)
|
||||||
ytplayer.playVideo();
|
ytplayer.playVideo();
|
||||||
|
if(ytplayer.getDuration() > seekTo)
|
||||||
ytplayer.seekTo(seekTo);
|
ytplayer.seekTo(seekTo);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user