Your Digital Media Has Never Looked So Good

 
salman23
Topic Author
Posts: 37
Joined: Tue Jun 17, 2014 11:23 pm

srt subtitle problem

Wed Jun 18, 2014 12:11 am

Hi,
I am new to roku.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()

Who is online

Users browsing this forum: No registered users and 2 guests