Help With controlling video playback?

I have been look around and was trying to work out if you could control the playback position of a video file with the pages scroll position?

To create a scrubbing effect through the video.