Present an mp4 video with .vtt subtitle using AVPlayerViewController

Hey guys,

I have a problem and coulden't find nothing to help online, so I came to you.

I have to urls, one for the mp4 video and one for the vtt file. I presented it in a AVPlayerViewController, so far so good.

But I need a way to show caption and subtitle button. Using AVMutableComposition for subtitle shows the caption but not the button.

Any help would be so much appreciated.

Replies

I am having similar issue... Did you find any fix for this?
Since AVPlayerViewController is part of AVKit, you'll probably want to ask in the AVKit section of the forums.