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: 
destruk
Streaming Star

roVideoScreen Captions (not available)

So...if your metadata.srt is set to invalid, or you have no captions in the file you are playing, how exactly do you display the message "No Captions Available" in the rovideoscreen?
I would think it would be smart enough to realize no captions are present and display the message but that isn't the case.
0 Kudos
2 REPLIES 2
destruk
Streaming Star

Re: roVideoScreen Captions (not available)

If I use the content metadata for SubtitleTracks, I can manually specify a name for "Subtitles Not Available" - but then when I have one member of the associative array the * dialog box says there are 2 tracks to choose from, if I add two then it says there are three, etc etc ?
0 Kudos
destruk
Streaming Star

Re: roVideoScreen Captions (not available)

ok, so in order to get the required message you need to set the subtitleurl metadata to invalid. You can't simply have it set to nothing or "" because then the roku code thinks something is there.
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.