0

How we access AVPlayerViewController's native event controls to track the current duration of the video or pause or resume and play or stop the video to get the callback.

Sumitava Datta
  • 137
  • 1
  • 11
  • see https://stackoverflow.com/questions/6837002/no-avplayer-delegate-how-to-track-when-song-finished-playing-objective-c-iphon it should help explain how to listen for playback events – Scriptable Apr 06 '18 at 08:17
  • I want to get the event like pause and resume of AVPlayerViewController's. Using Notification.Name.AVPlayerItemDidPlayToEndTime we will notify when the video is finished. Let me know if you have any other link. – Sumitava Datta Apr 09 '18 at 08:39

0 Answers0