mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
fucking logs
This commit is contained in:
@@ -225,17 +225,12 @@ function errorHandler(newState)
|
||||
var failsafe = ytplayer.getVideoUrl().split("https://www.youtube.com/watch");
|
||||
if(newState.data == 5 || newState.data == 100 || newState.data == 101 || newState.data == 150)
|
||||
{
|
||||
console.log(video_id);
|
||||
console.log(ytplayer.getVideoUrl());
|
||||
console.log("errorskip");
|
||||
socket.emit("skip");
|
||||
socket.emit("skip");
|
||||
}
|
||||
}
|
||||
|
||||
function onPlayerReady(event) {
|
||||
player_ready = true;
|
||||
console.log(ytplayer.getVideoUrl());
|
||||
console.log(ytplayer.getVideoUrl().split("https://www.youtube.com/watch"));
|
||||
player_ready = true;
|
||||
if(!window.mobilecheck())
|
||||
{
|
||||
$("#player").css("opacity", "1");
|
||||
|
||||
Reference in New Issue
Block a user