From d45fe0fbde7104799b06cb785d3a3419280409e1 Mon Sep 17 00:00:00 2001 From: Gregor Klevze Date: Sun, 11 Jan 2026 13:42:34 +0100 Subject: [PATCH] removing html5 audio --- src/main.js | 5 ++++- src/styles.css | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 1dbac9d..b850685 100644 --- a/src/main.js +++ b/src/main.js @@ -285,7 +285,10 @@ function renderCoverflow() { item.className = 'coverflow-item'; item.dataset.idx = String(idx); - const logoUrl = s.logo || (s.raw && (s.raw.logo || s.raw.poster)) || ''; + const rawLogoUrl = s.logo || (s.raw && (s.raw.logo || s.raw.poster)) || ''; + const logoUrl = rawLogoUrl && rawLogoUrl.startsWith('http://') + ? ('https://' + rawLogoUrl.slice('http://'.length)) + : rawLogoUrl; if (logoUrl) { const img = document.createElement('img'); img.alt = `${s.name} logo`; diff --git a/src/styles.css b/src/styles.css index 79b8cca..fb73155 100644 --- a/src/styles.css +++ b/src/styles.css @@ -363,7 +363,7 @@ body { padding: 12px; /* inner spacing from rounded edges */ box-sizing: border-box; border-radius: 12px; - box-shadow: 0 8px 20px rgba(0,0,0,0.35); + /*box-shadow: 0 8px 20px rgba(0,0,0,0.35);*/ position: relative; z-index: 3; margin-left:1rem;