Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
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.
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
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.