I'm writing an app that can play back HLS streams.
Some of our content is episodic television. So, if the user starts watching Episode 1 and finishes, they'll probably want to watch Episode 2.
I'm using AVPlayerViewController as the container to play back the videos. It works fine, and has just the right controls that I need. When the video got near the end, I'd handle the notification that got fired, and play the next video.
And then I discovered AVQueuePlayer. OK, this looks like what I want. I can add in multiple AVPlayerItems (each reprenenting one TV episode), and then set that to AVPlayerViewController. My expectation here was that since I'm sending in an AVQueuePlayer (with multiple items) that the AVPlayerViewController would provide a next button of some sort. So, if I'm mostly through Episode 1, I could hit a button and immediately start playing Episode 2. I don't see any way to configure this... I just figured that AVPlayerViewController would notice a queue, and adjust it's playback-controls accordingly.
So, the question is -- is there such a thing as a "next" button, and is there a way to show it?