Roku Developer Program

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

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
destruk
Level 10

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