From 3c7daa9d4381539fdabd5a2978706fd07342148a Mon Sep 17 00:00:00 2001 From: ale Date: Mon, 19 May 2025 17:40:11 +0200 Subject: [PATCH] autounmute Signed-off-by: ale --- src/App.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/App.js b/src/App.js index afdbb10..9a7ca63 100644 --- a/src/App.js +++ b/src/App.js @@ -8,7 +8,7 @@ const App = () => { [bounce, setBounce] = useState(''), [json, setJson] = useState({}), [currentVolume, setCurrentVolume] = useState(0.5), - [muted, setMuted] = useState(false), + [muted, setMuted] = useState(true), [link, setLink] = useState(''), [title, setTitle] = useState('Stream Radio'), [currentListeners, setCurrentListeners] = useState(0), @@ -102,7 +102,10 @@ const App = () => {

Audio Controls

{audioElmRef.current?.paused ? - : + : }