audio display none
Signed-off-by: ale <ale@manalejandro.com>
This commit is contained in:
parent
3f4753cf68
commit
3783888f74
@ -67,3 +67,7 @@ button {
|
|||||||
button:hover {
|
button:hover {
|
||||||
background-color: #2a7fba;
|
background-color: #2a7fba;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
audio {
|
||||||
|
display: none;
|
||||||
|
}
|
@ -117,7 +117,7 @@ const App = () => {
|
|||||||
<button onClick={() => setMuted(true)}>Mute 🔇</button>
|
<button onClick={() => setMuted(true)}>Mute 🔇</button>
|
||||||
}
|
}
|
||||||
</div>
|
</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