See the attached image for an outline.
I want to be able to track how long a user has watched a FLV Flash video. So, to begin with the user must authenticate. Once logged in, they should see a list of potential video links to watch. Click on the link to watch the video.
If the user exits, or leaves the site then that time should be noted and stored in the database. For example if I watch 30 seconds of a 60 second video, I've only watched 50%. The system should store this information and if I return to this particular video the system should ask, “Do you wish to watch the video for the last point you exited, or should it start from the beginning?” The ultimate goal is to track how long users have watch particular flv videos. I'd like to be able to capture this time whether they exit, stop, pause, or simply close the window.
This is for educational purposes I need to know whether people are watching the entire length of our required training videos. So, I need a way to audit the viewers. Upon the completion of the video (100%), I'd like a new page to load which may someday be either a certificate, or perhaps an exam.
I hope I've provided enough information. I've read tutorial after tutorial attempting to figure this out. I'm basically looking for someone to build a demonstration with a little documentation on how this is done.
I don't want a solution that tracks the time someone enters a page and exits...the data has to come from the video player.