I want to force users to watch a whole video. I plan on checking whether one or two random timecodes were hit, as well as whether the movie finished playing, would make it reasonably difficult to skip ahead without watching the video.
So to accomplish this I need to figure out two things:
- How to know when the video being viewed has hit certain timecodes, and
- How to know when the end of the video has been reached.
Is this info that embedded YouTube videos can give? If someone could point me in the right direction I'd greatly appreciate.