Fixed hostcontroller and removed an errormessage that appears on channels with one song only

This commit is contained in:
Kasper Rynning-Tønnesen
2016-02-10 13:03:34 +01:00
parent f6ce377161
commit f1f265a69c
8 changed files with 20 additions and 15 deletions

View File

@@ -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();
}