mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Now sending next video to chromecast
This commit is contained in:
@@ -30,6 +30,10 @@ customMessageBus.onMessage = function(event) {
|
||||
break;
|
||||
case "nextVideo":
|
||||
nextVideo = event.data.videoId;
|
||||
nextTitle = event.data.title;
|
||||
$("#next_title").html(nextTitle);
|
||||
$("#next_pic").attr("src", "//img.youtube.com/vi/"+nextVideo+"/mqdefault.jpg");
|
||||
$("#next_song").css("display", "block");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user