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

Video Screen forward/rewind event log

In the roVideoScreen, how can I understand if the user has forwarded the video or rewinded it? What events are triggered? How do I call a function when this happens?
0 Kudos
1 REPLY 1
destruk
Binge Watcher

Re: Video Screen forward/rewind event log

With roVideoPlayer you can capture these events. With roVideoScreen perhaps the best way would be to monitor the isPlaybackPosition() event - and set the position notification to 1 second. Then track the position to see if it's more than 1 different from the previous reported position. Remember, if their remote has an instant replay button and they press it, that plays the previous 7 seconds - so you might check for a difference of 9 or 10.
0 Kudos