sonnykr
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2014
08:37 AM
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,
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).
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).
1 REPLY 1


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2014
04:26 PM
Re: TTML on VideoPlayer
Yes it is. You need to use roCaptionRenderer
http://sdkdocs.roku.com/display/sdkdoc/ ... onRenderer
http://blog.roku.com/developer/2014/01/ ... evelopers/
http://sdkdocs.roku.com/display/sdkdoc/ ... onRenderer
http://blog.roku.com/developer/2014/01/ ... evelopers/