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

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 3
Veeta
Visitor

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
Visitor

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
Visitor

[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
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.