0

I'm working on a custom video player to play a number of short videos, a few seconds each. I use a subclass of AVQueuePlayer for that, and a subclass of AVPlayerViewController with a manually instantiated AVPictureInPictureController. It works fine.

However, I noticed that in picture-in-picture mode on an iPad every time AVQueuePlayer switches to the next item the default UI controls appear for a few seconds (close PiP, play/pause etc.). Since my videos are very short, this UI becomes annoying as it flashes on and off constantly.

I am wondering if there is a way to customize this behaviour somehow. If not, then what would you suggest? Somehow merging those videos into one and use a chapter select to navigate between them?

Bardt
  • 695
  • 1
  • 8
  • 17

0 Answers0