how do we Provide webvtt subtitle to the HLS videohow do we Provide webvtt subtitle to the HLS video

I have to play a video of m3u8 format to which subtitle of webvtt format needs to be embedded. Both m3u8 video and vtt files are coming from server. I have used frame layout in which, video view to play the video and text view to display subtitle. But facing issue to display subtitles of webvtt format in android. Anyone can provide some suggestion.

SUBMIT YOUR ANSWER

  |  
 
 
 

Preview :