I need to add subtitles from a url file for my video.player = AVPlayer(URL: NSURL(string: "http:////playlist.m3u8")!)
player?.play()
player?.closedCaptionDisplayEnabled=trueCan someone provide me proper solution for this.
Selecting any option will automatically load the page