andysmith1965
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2018
02:40 AM
subtitle vtt issues
Hi
I've implemented the closed caption support using WEBVTT format as the source for the subtitles.
The subtitles display fine, including the positioning, however neither the colour or any html entities (<) within the text are displayed.
A snippet of the vtt file is as follows:
WEBVTT
NOTE: MatID = 56966001001001 Title = ************
NOTE Created by .sng webVTT Encoder module WriteVTT v2016_10_28-1
1
00:00:02.000 --> 00:00:07.000 line:77% position:50% align:middle
<c.white>This programme contains strong</c>
<c.white>language and adult humour.</c>
Can anyone explain if this format is supported by Roku?
Regards
Andy Smith
I've implemented the closed caption support using WEBVTT format as the source for the subtitles.
The subtitles display fine, including the positioning, however neither the colour or any html entities (<) within the text are displayed.
A snippet of the vtt file is as follows:
WEBVTT
NOTE: MatID = 56966001001001 Title = ************
NOTE Created by .sng webVTT Encoder module WriteVTT v2016_10_28-1
1
00:00:02.000 --> 00:00:07.000 line:77% position:50% align:middle
<c.white>This programme contains strong</c>
<c.white>language and adult humour.</c>
Can anyone explain if this format is supported by Roku?
Regards
Andy Smith
5 REPLIES 5

Community Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2018
10:10 AM
Re: subtitle vtt issues
As of 8.1, the only HTML tags that are handled by the WebVTT parser are <b>, <i>, and <u>. The HTML entities for amp, lt, and gt are all parsed and should result in the correct character showing up in the subtitle output, but there may be a bug here.

SECHIN_SUNNY
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2018
02:16 PM
Re: subtitle vtt issues
Hi , can you please tell me on how to make changes in closedCaptions by changing the background , text color etc .Have tried using
m.videoPlayer.captionStyle={"Text color":"Yellow"}
but there is no change
Please suggest what should i do .
Thanks in advance
m.videoPlayer.captionStyle={"Text color":"Yellow"}
but there is no change
Please suggest what should i do .
Thanks in advance
Thanks
Regards
Sechin Sunny
Regards
Sechin Sunny
andysmith1965
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2018
02:33 AM
Re: subtitle vtt issues
"RokuBen" wrote:
As of 8.1, the only HTML tags that are handled by the WebVTT parser are <b>, <i>, and <u>. The HTML entities for amp, lt, and gt are all parsed and should result in the correct character showing up in the subtitle output, but there may be a bug here.
Thanks for this. I am certainly not seeing the < entity.
So for example the following embedded tag in the vtt file will not be recognised by the Roku parser : <c.yellow> ? Is there no way of including the style yellow?

Community Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2018
11:27 AM
Re: subtitle vtt issues
At the moment, there's no way to specify color information in a WebVTT file.
andysmith1965
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2018
01:05 AM
Re: subtitle vtt issues
"RokuBen" wrote:
At the moment, there's no way to specify color information in a WebVTT file.
Thanks for the info.