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
Binge Watcher

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
Binge Watcher

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
Binge Watcher

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