Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
michal
Visitor

WebVTT subtitles

I am writing an application that has VTT subtitles in streams files. The documentation says that they are supported for HLS VOD, but when I play the video, video stuck on loading.

Do you have any more information about the support WebVTT subtitles?
0 Kudos
5 REPLIES 5
RokuJoel
Binge Watcher

Re: WebVTT subtitles

Do your videos fail to play if you remove the WebVTT?

- Joel
0 Kudos
michal
Visitor

Re: WebVTT subtitles

No, unless I use WebVTT subtitles video is played without a problem. However, once you add subtitles , video stuck when loading.
0 Kudos
michal
Visitor

Re: WebVTT subtitles

Here is a sample of subtitles:

WEBVTT

1
00:00:02.000 --> 00:00:06.540
<i> -Episode 1- </i>

2
00:00:16.940 --> 00:00:24.020
<i>Timing and Subtitles brought to you by The Alley Cat Team @ Viki </i>

3
00:00:29.520 --> 00:00:31.920
Bok Gil~

4
00:00:45.730 --> 00:00:47.120
Bok Gil~

5
00:00:47.120 --> 00:00:48.980
<i>He drank again, didn't he?</i>

6
00:00:48.980 --> 00:00:51.160
Bok Gil~


Do you have any idea why is a problem with WebVTT ?
0 Kudos
adamkaz
Channel Surfer

Re: WebVTT subtitles

I've seen similar behavior. HLS video has embedded webvtt file. When I turn subtitles off, video plays fine. When I enable subtitles, the video plays until the first subtitle time and then hangs on the loading screen. Looking at the debugger, it continues to load segments fine. Ended up going with TTML.
0 Kudos
dreamer2057
Channel Surfer

Re: WebVTT subtitles

Me too, I have the same troubles.
Sincerely, Sergey Shoshin, software developer.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.