mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed issue with title in embedded player
- And issue with embedded preview re-appearing when changing values even though the user clicked stop
This commit is contained in:
@@ -140,6 +140,7 @@ window.addEventListener("load", function() {
|
||||
Helper.addClass("#player", "video_only");
|
||||
Helper.addClass("#player_overlay", "video_only");
|
||||
Helper.css("#zoffbutton", "bottom", "0px");
|
||||
Helper.css("#song-title", "width", "100vw");
|
||||
}
|
||||
|
||||
M.Modal.init(document.getElementById("locked_channel"), {
|
||||
|
||||
@@ -441,7 +441,7 @@ function addDynamicListeners() {
|
||||
previewing = true;
|
||||
document.querySelector(".embed-preview").innerHTML = embed_code(embed_autoplay, embed_width, embed_height, color, embed_videoonly, embed_localmode);
|
||||
} else {
|
||||
previewing = true;
|
||||
previewing = false;
|
||||
document.querySelector(".preview-embed").innerText = "Preview";
|
||||
document.querySelector(".embed-preview").innerHTML = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user