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

Closed Caption content on roSpringboardScreen

I need to add a Closed Caption value (CC) to my springboard screen if closed captions are available for that title. This value would come after the rating. It would look like this

29m 2013 NR CC

if there were closed captions

and

29m 2013 NR

if there werent closed captions

This seems to be handled via

springBoard.setContent(assetInfo) in which springBoard is an roSpringboardScreen and assetInfo is an roAssociativeArray

Is there a list of possible values that springboard screen is set up to handle?
0 Kudos
4 REPLIES 4
destruk
Streaming Star

Re: Closed Caption content on roSpringboardScreen

Possible values for display are here:
http://sdkdocs.roku.com/display/sdkdoc/ ... oardScreen

cc isn't available, so for that you'd need an roimagecanvas overlay transparency to stick on top, or create a custom roimagecanvas or roscreen for your springboard screen.
It might be easier to add a "Play with closed caption" button for the user to select if they want closed captions visible and they are available for playback for the current item.
0 Kudos
TheEndless
Channel Surfer

Re: Closed Caption content on roSpringboardScreen

The closed captioning badge isn't documented, but you can add it by setting the "ClosedCaptions" metadata attribute to true on your content metadata.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
destruk
Streaming Star

Re: Closed Caption content on roSpringboardScreen

Cool. What other stuff isn't documented that Roku can do?
0 Kudos
TheEndless
Channel Surfer

Re: Closed Caption content on roSpringboardScreen

"destruk" wrote:
Cool. What other stuff isn't documented that Roku can do?

Probably quite a bit. I know about that one, because I needed it for a couple of different channels I've worked on. There's also the 5.1 badge, but I don't recall how to display that one at the moment.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
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.