dbulli
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2013
09:01 AM
Get video length, from HLS and roVideoPlayer
I am trying to indicate to the user the length of the video. The server that I am getting the video for does not give me that info.
Is there a way to get this value from the roVideoPlayer component after the video has started? I can get the current progress using msg.GetIndex() with the "Startup progress" message.
Thanks,
Is there a way to get this value from the roVideoPlayer component after the video has started? I can get the current progress using msg.GetIndex() with the "Startup progress" message.
Thanks,
- Daniel
http://dbulli.com
http://dbulli.com
1 REPLY 1

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2013
09:50 AM
Re: Get video length, from HLS and roVideoPlayer
Unfortunately, there's no way to get the video length from the video player. If it's HLS, though, you could probably parse it from the m3u8 file yourself.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)