ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

WebVTT support

Open Kening opened this issue 12 years ago • 3 comments

in a previous issue, someone mention vtt support is coming, wonder if there's any update?

Kening avatar Nov 13 '14 20:11 Kening

@Kening, we haven't started on it yet, but we'll add it at some point soon.

andudo avatar Nov 13 '14 20:11 andudo

Cool.

Meanwhile, I am trying to use the existing TTML/DFXP support, but having a hard time getting it right. It seems I can't pass a TTML/DFXP Uri to MediaExtractor.setDataSource(), which will always throw an IOException. Wonder if I am doing anything wrong.

Btw, I am constructing a FrameworkSampleSource with the TTML/DFXP Uri, and pass this sample source to TextTrackRenderer, which is then pass to ExoPlayer. Similar to this: https://gist.github.com/anotherhale/4739df1b6545b5067d76

Thanks

Kening avatar Nov 14 '14 16:11 Kening

i just saw ojw28's recommendation at https://github.com/google/ExoPlayer/issues/39, creating my own sample source. thanks.

Kening avatar Nov 14 '14 16:11 Kening