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

Re: Video meta data - specifically length of video

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

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
Visitor

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
Visitor

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
Visitor

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
Visitor

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
Visitor

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.