Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
michal
Level 7

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
Roku Employee
Roku Employee

Re: WebVTT subtitles

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

- Joel
0 Kudos
michal
Level 7

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
Level 7

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
Level 7

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
Level 7

Re: WebVTT subtitles

Me too, I have the same troubles.
Sincerely, Sergey Shoshin, software developer.
0 Kudos