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

Are the closed captions broken in firmware 8.0?

The Roku 8.0 release notes say: 


- Closed Captions are now displayed with a more consistent on-screen appearance across streaming channels.
- Fixed a bug in which closed captions would occasionally not appear in some streaming channels after an advertisement was played.


Ever since the release of 8.0, the captions in my app are no longer working. They were working before. I'm externally loading SRT files by using the SubtitleConfig and SubtitleTracks params on the video content. Sorta like this:

vidContent.subtitleTracks = m.top.content.SubtitleTracks
vidContent.subtitleConfig = m.top.content.SubtitleConfig

player.content = vidContent


The TrackName is set to be the URL of the SRT file which exists in both the SubtitleConfig object and the SubtitleTracks list.

This method was working up until lately, but now it's not. 

Did something change? Is this a bug? 
0 Kudos
3 Replies
Veeta
Level 7

Re: Are the closed captions broken in firmware 8.0?

What works for us with firmware 8.0 is:

tracks = [
{ description: "Track 1", trackname: srtUrl }
]
content.subtitleTracks = tracks
content.subtitleConfig = { trackname: srtUrl }
0 Kudos
johnmarsden
Level 7

Re: Are the closed captions broken in firmware 8.0?

Is that working for you right now? Because that's exactly what I have and had.
0 Kudos
johnmarsden
Level 7

[solved] Re: Are the closed captions broken in firmware 8.0?

Nevermind. Turns out one of my language files had some invisible characters in it that was probably from saving it wrong.. it messed with the captions so it wouldn't work.
Weird bug. 

Everything works as expected.
0 Kudos