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: 
matrixebiz
Roku Guru

Do I have to add a contentNode to disable CC

Hello, in my Roku SG channel, the Closed Captions are wrong and I have no idea where they are coming from and are the same for every channel. Do i have to add a contentNode for CC to disable them? Channel is here - https://github.com/rokudev/videoplayer-channel
0 Kudos
4 REPLIES 4
renojim
Community Streaming Expert

Re: Do I have to add a contentNode to disable CC

Glancing at the source on github, I'm guessing they're coming from CragVenter.srt in the source directory. Remove that file and they'll be gone. That's not really the right way to do it (remove/replace the reference in the code), but it will get the job done.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
matrixebiz
Roku Guru

Re: Do I have to add a contentNode to disable CC

Thank you, that is it but that means I need to re-publish the channel again 😞 but thank you for finding that.

Do I need that main.brs file too? none of the files in the components folder has reference to CragVenter.srt so I guess I'll just delete the file
0 Kudos
renojim
Community Streaming Expert

Re: Do I have to add a contentNode to disable CC

Yes, you need main.brs (it has the Main function). CraigVenter.srt is referenced in SpringBoard.brs in the components directory.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
matrixebiz
Roku Guru

Re: Do I have to add a contentNode to disable CC

Thanks, the first time I searched it, it didn't come up for me, probably spelt it wrong 😞

Anyway, there is a warning at the bottom of that coders channel page;

Warning
This sample does not utilize deep-linking and warning dialog messages but has them in the code if a developer desires to use them.


Since deep-linking is required for Public channel certification, can you see what is involved in enabling that option and is it a big job to configure correctly?
I assume there would be a bunch of work to do with the channel to get that working or I assume he would have enabled it in the first place?
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.