Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bosborne
Level 7

Re: Video meta data - specifically length of video

Thanks, unfortunately I'm working with roVideoScreen and no roVideoPlayer
0 Kudos
RokuMarkn
Level 8

Re: Video meta data - specifically length of video

Just out of curiosity, what would you do with the video duration on an roVideoScreen?

--Mark
0 Kudos
bosborne
Level 7

Re: Video meta data - specifically length of video

I'm working on an analytics plugin that determines the % of video watched. To do that, I need to know the total duration. Rather than report it in the metadata, it would be nice of the SDK exposed it.
0 Kudos
PatrickH
Level 7

Re: Video meta data - specifically length of video

Sorry for the stupid question, but do I need to have SDK version 5 on my PC to use GetPlaybackDuration() (if so when will it be available/where can I get it)?

My Roku has SW version 5.0 (Build: 7070) but whenever I try to call GetPlaybackDuration I'm getting the following error:
Member function not found in BrightScript Component or interface. (runtime error &hf4) in .../pkg:/source/xyz

Thanks for your help
Patrick
0 Kudos
RokuMarkn
Level 8

Re: Video meta data - specifically length of video

Sorry about that, it looks like our documentation is a little ahead of our releases this time. That function is not available in 5.0 but will be available in a future release.

--Mark
0 Kudos
PatrickH
Level 7

Re: Video meta data - specifically length of video

Thanks for the clarification, Mark!
Is there a rough estimate when the function will be available?

Thanks again!
Patrick
0 Kudos
PatrickH
Level 7

Re: Video meta data - specifically length of video

"PatrickH" wrote:
Thanks for the clarification, Mark!
Is there a rough estimate when the function will be available?


I guess not... Smiley LOL
0 Kudos