How to check if AVPlayerViewController fast forward control has been pressed?

1k Views Asked by At

I have an AVPlayerViewController and AVPlayer that shows default controls. When the player is in fullscreen the >>| button acts as a fast forward but i would like to override/delegate this to act as a next button and call my playNextVideo() method. Is this at all possible, or do I have to live with the fast forwarding?

1

There are 1 best solutions below

1
Jenel Ejercito Myers On

set the AVPlayerViewControllerDelegate, then use

-(void)playerViewController:(AVPlayerViewController *)playerViewController willResumePlaybackAfterUserNavigatedFromTime:(CMTime)oldTime toTime:(CMTime)targetTime;