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: 
draagossh
Visitor

How to tell if subtitles failed to load

Is there any way of programmatically telling whether or not the side loaded subtitles have successfully loaded?
I'd like to know this so I can hide a subtitles button if I can not load them.
I can see that the default video captions dialog still says it detects subtitles even though I have provided a bad url and nothing ends up being displayed.
0 Kudos
1 REPLY 1
RokuCC
Binge Watcher

Re: How to tell if subtitles failed to load

There is no such feature.

I guess the app could read  from the url itself to see if there is anything there.

Recommendation is to have any CC button map to the global caption mode in device info or video node directly. Have them synced all the time.
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.