mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
I AM A STUPID MAN
This commit is contained in:
@@ -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;
|
||||
|
||||
2
static/dist/embed.min.js
vendored
2
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
2
static/dist/main.min.js
vendored
2
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user