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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to give subtile link to video node.

How can i display subtitles in video node In roku . subtitles are coming from api, how to give subtitle link to video node can you give me the example code for that. It is very helpful for me 

Thanks In Advance.
0 Kudos
Streaming Star

Re: How to give subtile link to video node. - Closed Caption Fields

That is the roku Wiki SDK site - so bookmark that and you might find it helpful to read everything.
0 Kudos

Re: How to give subtile link to video node.

I am using below code not display subtitles even pop up also when click on star button while playing video in full screen mode

videocontent = createObject("RoSGNode", "ContentNode")
            videocontent.HttpHeaders = headers
            videocontent.title = m.ContentNode_child_object.title
            videocontent.streamformat = "dash"
            subtitle_config = {
                    TrackName: “"
            videocontent.subtitleconfig = subtitle_config
            videocontent.url = “URL” = "play"
   = true
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.