audio display none
Signed-off-by: ale <ale@manalejandro.com>
This commit is contained in:
parent
3f4753cf68
commit
3783888f74
@ -66,4 +66,8 @@ button {
|
||||
|
||||
button:hover {
|
||||
background-color: #2a7fba;
|
||||
}
|
||||
|
||||
audio {
|
||||
display: none;
|
||||
}
|
@ -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} />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user