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: 
ionatan
Roku Guru

Subtitles Settings - Enable/Disable

Hello,
I want to allow the user watch the content from a roku channels with subtitles (2-3 languages for some of the videos). I'm thinking about 2 solutions to allow the users to enable/disable subtitles, and to select a specific language:
1. A "roMessageDialog" screen displayed when the user clicks on "Play with subtitle", and in this roMessageDialog the user will be able to select the language of subtitle
2. A "roParagraphScreen" screen displayed in the app, and in this screen the user will be able to enable/disable subtitles for all the videos and also to select a language

Any other ideas?

Thanks,
Ionatan
0 Kudos
2 REPLIES 2
Anonymous
Visitor

Re: Subtitles Settings - Enable/Disable

What format are the subtitles provided in. We would suggest you do nothing and let the 5.3-introduced caption preferences handle it all for you. If you're providing the subtitles in 608 or ttml, we should be able to automatically handle it if you're using roVideoScreen and pressing * during playback should let the viewer control the presence of captions and which track to use.
0 Kudos
ionatan
Roku Guru

Re: Subtitles Settings - Enable/Disable

We provide .srt files for the videos. Is there a way to convert them to 608 or ttml? Or is there any "caption preferences" feature scheduled for the next firmware updates?

Does caption preferences work with external ttml files?

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