const player = document.getElementById("musicPlayer"); const audio = document.getElementById("audioPlayer"); const image = document.getElementById("playerImage"); const idleImage = "https://www.dropbox.com/scl/fi/9hquye5ppp2f19up30dat/music-arrito1.png?rlkey=ue0fq3efbiy61tb3txmfqf442&st=6rmkirlu&dl=1"; const playingImage = "https://www.dropbox.com/scl/fi/wng1rktpsc1pml6b88ktl/arrito-music2.gif?rlkey=4fjrnsen5k0ccrdycp9s7ylhc&st=gg4or3yh&dl=1"; /* Ensure consistent size */ const imgWidth = 100; const imgHeight = 100; image.width = imgWidth; image.height = imgHeight; image.style.objectFit = "contain"; /* Fixed volume */ audio.volume = 0.2; /* Click toggle */ player.addEventListener("click", function() { if (audio.paused) { audio.play(); image.src = playingImage; localStorage.setItem("musicPlaying", "true"); } else { audio.pause(); image.src = idleImage; localStorage.setItem("musicPlaying", "false"); } }); /* Autoplay on page load */ window.addEventListener("load", function() { audio.play().then(() => { image.src = playingImage; localStorage.setItem("musicPlaying", "true"); }).catch(err => { console.log("Autoplay blocked by browser:", err); }); }); Welcome to Dizzy's Domain
I am chaos incarnate, brought to this realm by forces beyond your comprehension. A creative storm that shall sweep across the land and imbue it with my annoying presence. A ball of floof with a heart of gold and a tongue of silver.
I'm Dizzy. I create things. Lots of things. I have a fatal case of wanderlust. Care to get lost with me?
Lclyf wbzo avdhykz myllkvt vusf luahunslz aol wbwwla kllwly puav oly zaypunz...
What were you expecting to see here?