-
Notifications
You must be signed in to change notification settings - Fork 16
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 pause/play any video using Button #5
Comments
@bhutvijay204 Hope this helps Add this in ASVideoPlayerController class
then and in ASVideoContainer class add following lines of code
Now just simply call from your desired action for pause and play as ASVideoPlayerController.sharedVideoPlayer.shouldPlay.toggle() |
Hi. Great library for auto playing videos in table view cell. I wanted to pause/play videos on didSelectRowAt and applied this code but it is not working fine. It is having following issues.
Any help would be appreciated. Did you achieve this @bhutvijay204 . @Goldy-74 Any idea how to solve this. |
I want to play and pause the video on the tap on video? |
Hi @Goldy-74 |
I am using ASVideoPlayerController but this auto play but how to use play and push using button
The text was updated successfully, but these errors were encountered: