mirror of
https://github.com/SoPat712/maisie-heardle.git
synced 2025-08-21 10:18:45 -04:00
not hidden player, just 0w0h, and increased load time
This commit is contained in:
@@ -273,7 +273,7 @@
|
||||
widget.seekTo(0);
|
||||
loading = false;
|
||||
widgetReady = true;
|
||||
}, 750);
|
||||
}, 1500);
|
||||
});
|
||||
|
||||
widget.bind(SC.Widget.Events.PLAY, () => {
|
||||
@@ -521,11 +521,11 @@
|
||||
|
||||
<iframe
|
||||
bind:this={iframeElement}
|
||||
class="hidden"
|
||||
src={`https://w.soundcloud.com/player/?url=${encodeURIComponent(currentTrack.url)}`}
|
||||
style="position:absolute; width:0; height:0; border:0; overflow:hidden; visibility:hidden;"
|
||||
allow="autoplay"
|
||||
title="preview player"
|
||||
></iframe>
|
||||
/>
|
||||
|
||||
<!-- Bottom‑pinned controls -->
|
||||
<div class="mt-auto px-4 pb-4">
|
||||
|
Reference in New Issue
Block a user