mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Worked out most of the kinks
This commit is contained in:
@@ -138,10 +138,10 @@ var Youtube = {
|
||||
console.log(Youtube.before_load == ytplayer.getVideoUrl);*/
|
||||
curr_playing = ytplayer.getVideoUrl().replace("https://www.youtube.com/watch?v=", "");
|
||||
|
||||
if(Youtube.loaded && video_id == curr_playing) {
|
||||
|
||||
socket.emit("skip", {error: newState.data, id: video_id, pass: adminpass});
|
||||
//console.log(video_id, ytplayer.getVideoUrl(), ytplayer.getPlayerState());
|
||||
}
|
||||
|
||||
/*}else{
|
||||
setTimeout(function(){
|
||||
ytplayer.loadVideoById(video_id);
|
||||
|
||||
Reference in New Issue
Block a user