-
Notifications
You must be signed in to change notification settings - Fork 380
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
how to hide and show next and forward button code snippet #810
Comments
Also intresting how to add rewind and fastForward buttons on mobile app? |
@rajam1215 You can hide the previous and next buttons with setPreviousButtonRemoved and setNextButtonRemoved if you are using the default e.g. (videoView.videoControls as? DefaultControls)?.let { controls ->
controls.setPreviousButtonRemoved(true)
controls.setNextButtonRemoved(true)
} |
@EugeneAsti Similar to the above previous & next button functions, there are functions for setRewindButtonRemoved and setFastForwardButtonRemoved functions; however if you are using the default So you will need to provide your own layout and implementation for the If you have more questions around the |
@brianwernick in java it is look like this, Is it Ok?
But with my above code setPreviousButtonRemoved and setNextButtonRemoved not working, Buttons not hide can you elaborate this once But this functions are working fine
|
Ah, I see. There's a bug that was likely introduced when we re-wrote the controls for |
@brianwernick when new version will live 5.2.0, so I will get new changes in my code |
There are a few other things that I'm going to look into updating/fixing; but I'm tentatively planning on releasing the update later this week |
@brianwernick I waiting for this thanks |
|
@brianwernick I am working on some project, I show videos in listing, everything is working fine, but need to hide next and forward button
can you explain how i can do this
Thanks
The text was updated successfully, but these errors were encountered: