Prettier small player on frontpage when playing soundcloud

This commit is contained in:
Kasper Rynning-Tønnesen
2018-09-29 15:56:17 +02:00
parent ab8e53d1e0
commit 81dd783609
8 changed files with 82 additions and 55 deletions

View File

@@ -14,6 +14,7 @@ try {
var SC_widget;
var scUsingWidget = false;
var SC_player;
var durationTimeout;
var sc_need_initialization = true;
var sc_initialized = false;
var startTime = 0;
@@ -130,7 +131,6 @@ window.addEventListener("load", function() {
});
document.querySelector(".channel-info-container").href = "https://zoff.me/" + chan.toLowerCase();
console.log("https://zoff.me/" + chan.toLowerCase());
document.querySelector(".channel-title").innerText = "/" + chan.toLowerCase();
socket.on("get_list", function() {