Change song to my version of Velkommen.

This commit is contained in:
天クマ 2026-02-07 20:51:09 -03:00
commit 14a554639d
17 changed files with 16 additions and 12 deletions

BIN
static/Velkommen.mp3 Normal file

Binary file not shown.

View file

@ -8,6 +8,7 @@ const savedTime = localStorage.getItem("audioTime");
const wasPlaying = localStorage.getItem("audioPlaying") === 'true'
if (savedTime) audio.currentTime = parseFloat(savedTime);
if (wasPlaying) {
play();
} else {
@ -15,6 +16,7 @@ if (wasPlaying) {
}
function play() {
audio.volume = 0.8;
audio.play();
localStorage.setItem("audioPlaying", "true")
toggleIMG.src = "/static/images/sound-on.png"

Binary file not shown.