3

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?

justin shores
  • 687
  • 7
  • 24

1 Answers1

0

set the AVPlayerViewControllerDelegate, then use

-(void)playerViewController:(AVPlayerViewController *)playerViewController willResumePlaybackAfterUserNavigatedFromTime:(CMTime)oldTime toTime:(CMTime)targetTime;
Jenel Ejercito Myers
  • 2,553
  • 2
  • 16
  • 24