Need Help in Small Project

I need help with a small project that I am doing for my client. My clients have a company that does staffing for hotel workers and when they sign up with him, they have to watch 4 separate training videos. What I need help with is a script of some sort that will pop-up a sign in box of some sort after every video was finished so we can log a record of that person watching each video. How can I accomplish this with an open source free script?

lets assume its the flash player
well first you need to make sure that the player has any navigational controls diable [or he simply can get to the end ]
then you can add custom code to the player to access a URL after the end of each video and once the user complete what ever the action with the form the code can proceed

i dont know any pre made code for something like this
but it wont be hard to make even