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

TTML on VideoPlayer

Hi Guys,

Is it possible to render closed captions from a ttml file on Video player component? I know how to do that on VideoScreen component by,


SubtitleConfig: {
TrackName: "http://myserver.com/myfolder/closed_caption.ttml"
}


The sample code give in http://sdkdocs.roku.com/display/sdkdoc/ ... on+Support talks only about ttml file given to a roVideoScreen component.

So, is it possible to provide an external ttml file to roVideoPlayer component and render the closed captions? My streaming protocol is HLS (not smooth steaming).
0 Kudos
1 REPLY 1
RokuChris
Roku Employee
Roku Employee

Re: TTML on VideoPlayer

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.