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

Calculate Percentage of File Played

Using the roVideoPlayerEvent function is it possible to calculate the percentage of the file played? (i.e. 25%, 50%,75% and so on)
Thanks in advance.
0 Kudos
2 REPLIES 2
TheEndless
Channel Surfer

Re: Calculate Percentage of File Played

If you know the length of the video, you can use the IsPositionNotification() event to calculate the percentage.
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)
0 Kudos
uarlive
Visitor

Re: Calculate Percentage of File Played

thanks. i appreciate the help.
0 Kudos