Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
destruk
Level 10

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
destruk
Level 10

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
Level 10

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