mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Flexing
This commit is contained in:
@@ -54,12 +54,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#next_title{
|
#next_title{
|
||||||
position: absolute;
|
align-self: center;
|
||||||
top: 45%;
|
|
||||||
right: 0px;
|
|
||||||
width: 8rem;
|
width: 8rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
color: white;
|
color: white;
|
||||||
|
display:flex;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ customMessageBus.onMessage = function(event) {
|
|||||||
nextTitle = json_parsed.title;
|
nextTitle = json_parsed.title;
|
||||||
$("#next_title").html(nextTitle);
|
$("#next_title").html(nextTitle);
|
||||||
$("#next_pic").attr("src", "//img.youtube.com/vi/"+nextVideo+"/mqdefault.jpg");
|
$("#next_pic").attr("src", "//img.youtube.com/vi/"+nextVideo+"/mqdefault.jpg");
|
||||||
$("#next_song").css("display", "block");
|
$("#next_song").css("display", "flex");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
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
@@ -299,8 +299,9 @@ function hide_native(way){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function chromecastListener(evt,event){
|
function chromecastListener(evt, data){
|
||||||
var json_parsed = JSON.parse(event);
|
console.log(data);
|
||||||
|
var json_parsed = JSON.parse(data);
|
||||||
switch(json_parsed){
|
switch(json_parsed){
|
||||||
case -1:
|
case -1:
|
||||||
socket.emit("end", {id: json_parsed.videoId, channel: chan.toLowerCase()});
|
socket.emit("end", {id: json_parsed.videoId, channel: chan.toLowerCase()});
|
||||||
|
|||||||
Reference in New Issue
Block a user