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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting CaptionStyle

Hi guys,

I'm new over here, I'm having problem setting captionStyle. This is my code: = "On"
[size=85][font=Monaco] = params.subtitlesUrl[/font][/size]
[size=85][font=Monaco] = {[/font][/size]
[size=85][font=Monaco][color=#000000] [/color][color=#3f7777]"Background Color"[/color][color=#000000][color=#000000]: params.[/color][/color][color=#ff9e00][color=#ff9e00]backgroundColor[/color][/color][/font][/size]
[size=85][font=Monaco]    [color=#3f7777]"Background Opacity"[/color]: params.backgroundOpacity[/font][/size]
[size=85][font=Monaco]    [color=#3f7777]"Text style"[/color]: params.textStyle[/font][/size]
[size=85][font=Monaco]    [color=#3f7777]"Text color"[/color]: params.textColor[/font][/size]
[size=85][font=Monaco]    [color=#3f7777]"Text size"[/color]: params.textSize[/font][/size]
[size=85][font=Monaco]    [color=#3f7777]"Text edge effect"[/color]: params.textEdgeEffect[/font][/size]

The subtitle is showing but it seems that styles showing are the ones set in the system (default), not the ones that I'm setting in code.
Thanks for your help.
0 Kudos

Re: Setting CaptionStyle

See this thread:
The properties listed in the docs are incorrect. That post has the correct properties.
0 Kudos