-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Add audio toggle #1
Comments
Usually sound is managed by the device / OS directly. |
To complete what @tlenclos said, and to answer your original question You can use the ControlTouchable component to create a touchable content that you then render either:
Maybe you need it positioned before the fullscreen button in the slider ? If that's the case i can have a look at how to add custom controls to the slider |
In the case of Reddit or Instagram, audio can be toggled off with the mute button that's absolutely positioned on the video container. It's primarily for feeds with videos. I added the audio component as an absolutely positioned child but it reset the video to the starting position instead of continuing to play. |
Could you share your code ? The ControlTouchable component is not supposed to interact with the audio player |
Add audio mute on/off toggle to the custom controls
The text was updated successfully, but these errors were encountered: