audio display none

Signed-off-by: ale <ale@manalejandro.com>
This commit is contained in:
ale 2025-05-19 17:13:52 +02:00
parent 3f4753cf68
commit 3783888f74
Signed by: ale
GPG Key ID: 244A9C4DAB1C0C81
2 changed files with 5 additions and 1 deletions

View File

@ -67,3 +67,7 @@ button {
button:hover {
background-color: #2a7fba;
}
audio {
display: none;
}

View File

@ -117,7 +117,7 @@ const App = () => {
<button onClick={() => setMuted(true)}>Mute 🔇</button>
}
</div>
<audio src={audioUrl} controls={false} ref={audioElmRef} volume={currentVolume} preload={"none"} muted={muted} />
<audio src={audioUrl} ref={audioElmRef} volume={currentVolume} preload={"none"} muted={muted} />
</>
)
}