Is it possible to control the mute and volume properties with state variables? #225
Unanswered
lkgatesman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using this audio player for a project where I've created my own custom control for volume, which includes a volume range bar and a mute button. I've tried controlling mute and volume props with state variables passed into the audio player, but the state variables changing has no effect on the audio itself. For example:
Changing
mute
orvolume
with their respectivesetState
functions has no impact on the audio. Suggestions and help are appreciated! Thank you.Beta Was this translation helpful? Give feedback.
All reactions