Roku Developer Program

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

Captions for Episodic channel

I am trying to add captions to my episodes in my channel. I see in the SDK documentation, the new specs for adding TTML captions to my channel, but I don't see any documentation on how to add it to your episode XML document. I found on another post the following code that was added to the appVideoScreen.brs:
screen = CreateObject("roVideoScreen")
subtitle_config = {
TrackName: episode.ccURL
metadata = {
Stream: {
StreamFormat: "hls",
SubtitleConfig: subtitle_config

but I still can't figure out where I put my caption file url in my episode xml document. I am not very good at this stuff, so any help would be greatly appreciated!

0 Kudos
1 Reply
Level 8

Re: Captions for Episodic channel

You need to ask that in the developer's forum:
Two Roku Ultras, three Roku 3s and a Roku 1
"Part of the secret of success in life is to eat what you like and let the food fight it out inside." Mark Twain
Van Roy's Law: An unbreakable toy is useful for breaking other toys.
0 Kudos