mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Fixed hostcontroller and removed an errormessage that appears on channels with one song only
This commit is contained in:
@@ -3,7 +3,7 @@ var Hostcontroller = {
|
||||
enabled: true,
|
||||
|
||||
host_listener: function() {
|
||||
|
||||
|
||||
var old_id;
|
||||
|
||||
socket.on("id", function(id)
|
||||
@@ -51,7 +51,7 @@ var Hostcontroller = {
|
||||
}else if(arr[0] == "pause")
|
||||
Youtube.ytplayer.pauseVideo()
|
||||
else if(arr[0] == "play")
|
||||
YouTube.ytplayer.playVideo();
|
||||
Youtube.ytplayer.playVideo();
|
||||
else if(arr[0] == "skip")
|
||||
List.skip();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user