a small demo of a record player that lives in the corner of any website
Dear visitor,
This page is just paper and ink. Nothing here plays a sound by itself — the music lives in the little disc parked in the bottom-right corner of your screen. Tap it once and it unfolds. Hold it and it stops, like a hand lowered onto a real record.
Everything spinning over there is served from one script tag. The paper you're reading did nothing to earn it, which is rather the point.
yours, the webmasterest. the other tuesday
<script>
window.HypersMusic = {
tracks: [
{ url: "https://www.youtube.com/watch?v=9g8zQ9Txmnw",
title: "Round 3", artist: "Seedhe Maut",
thumbnail: "https://picsum.photos/seed/vinyl-a/400/400" },
{ url: "https://www.youtube.com/watch?v=S5Zf7zP7OCI",
title: "Supercut", artist: "Lorde",
thumbnail: "https://picsum.photos/seed/vinyl-b/400/400" },
{ url: "https://www.youtube.com/watch?v=UX1EF0GqC8Q",
title: "Green Light", artist: "Lorde",
thumbnail: "https://picsum.photos/seed/vinyl-c/400/400" },
{ url: "https://www.youtube.com/watch?v=fN6KvLfd9sE" }
]
};
</script>
<script src="https://music.hypers.wtf"></script>
the last track gets its title from YouTube all on its own — and if you load the script with no config at all, you get a quiet red complaint at the bottom of the page.