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

Re: HLS stream subtitles

As of the 5.1 release, we've improved our caption support. See here: http://sdkdocs.roku.com/display/sdkdoc/ ... on+Support
0 Kudos
bosborne
Visitor

Re: HLS stream subtitles

Great news, thanks
0 Kudos
salman23
Visitor

Re: HLS stream subtitles

Hi,
I am using videoscreen.I want to display srt subtitles.I gave the url to my dropbox public folder.But still not getting.Caption settings are on in my roku device.Any help?


port = CreateObject("roMessagePort")
screen = CreateObject("roVideoScreen")
screen.SetMessagePort(port)

screen.SetPositionNotificationPeriod(3)
'EnableCaptions(screen)
metaData={
Stream: { url: "http://video.ted.com/talks/podcast/JeffHan_2006_480.mp4" }
StreamFormat: "mp4"
SubtitleUrl:"https://dl.dropboxusercontent.com/u/59357079/Game.of.Thrones.S04E10.HDTV.x264-KILLERS.srt"
}
screen.ShowSubtitle(true)
screen.SetContent(metaData)
screen.Show()
0 Kudos