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{
|
||||
position: absolute;
|
||||
top: 45%;
|
||||
right: 0px;
|
||||
align-self: center;
|
||||
width: 8rem;
|
||||
overflow: hidden;
|
||||
color: white;
|
||||
display:flex;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@@ -42,7 +42,7 @@ customMessageBus.onMessage = function(event) {
|
||||
nextTitle = json_parsed.title;
|
||||
$("#next_title").html(nextTitle);
|
||||
$("#next_pic").attr("src", "//img.youtube.com/vi/"+nextVideo+"/mqdefault.jpg");
|
||||
$("#next_song").css("display", "block");
|
||||
$("#next_song").css("display", "flex");
|
||||
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){
|
||||
var json_parsed = JSON.parse(event);
|
||||
function chromecastListener(evt, data){
|
||||
console.log(data);
|
||||
var json_parsed = JSON.parse(data);
|
||||
switch(json_parsed){
|
||||
case -1:
|
||||
socket.emit("end", {id: json_parsed.videoId, channel: chan.toLowerCase()});
|
||||
|
||||
Reference in New Issue
Block a user