add sound and style
This commit is contained in:
BIN
nginx/html/fart.mp3
Normal file
BIN
nginx/html/fart.mp3
Normal file
Binary file not shown.
@@ -59,7 +59,7 @@
|
||||
position: fixed;
|
||||
width: max-content;
|
||||
font-family: Poppins, Helvetica, sans-serif;
|
||||
font-size: 1rem;
|
||||
top: 5%;
|
||||
"
|
||||
>
|
||||
mindboost - media server
|
||||
@@ -92,7 +92,7 @@
|
||||
/* ---------- Audio-setup & wobbly button ---------- */
|
||||
;(async () => {
|
||||
const BUTTON = document.getElementById("soundBtn")
|
||||
const AUDIO_FILE = "demo-ping.mp3" // <-- change path/format at will
|
||||
const AUDIO_FILE = "fart.mp3" // <-- change path/format at will
|
||||
let ctx, buffer
|
||||
|
||||
// Pre-fetch & decode once (lazy: only on first click)
|
||||
|
Reference in New Issue
Block a user