I AM A STUPID MAN

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-18 20:24:45 +01:00
parent 48f14c644e
commit 73bf5feec8
4 changed files with 5 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ customMessageBus.onMessage = function(event) {
nextTitle = json_parsed.title;
$("#next_title").html("Next Song:<br>" + nextTitle);
$("#next_pic").attr("src", "//img.youtube.com/vi/"+nextVideo+"/mqdefault.jpg");
$("#next_song").css("display", "flex");
if(ytReady) $("#next_song").css("display", "flex");
break;
}
}
@@ -123,6 +123,7 @@ function onPlayerReady() {
$("#player").toggleClass("hide");
$("#zoff-logo").toggleClass("center");
$("#zoff-logo").toggleClass("lower_left");
$("#next_song").css("display", "flex");
console.log(videoId);
if(videoId){
loading = true;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -180,7 +180,7 @@ var Player = {
loadVideoById: function(id){
if(chromecastAvailable){
castSession.sendMessage("urn:x-cast:zoff.no", {type: "loadVideoById", videoId: id});
castSession.sendMessage("urn:x-cast:zoff.no", {type: "loadVideo", videoId: id});
} else {
Player.player.loadVideoById(id);
}