Developers

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.
Tags (1)
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 ?
Tags (1)
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.
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!