Using Quicktime and Javascript

admin

Administrator
Staff member
Hello all

Am trying to create a webpage that has embedded video, and once the video has completed, it would go to a different website, but I'm not sure how the javascript program would know the video has completed, I've only got two ideas:

1) An parameter from the video itself saying "I'm finished"
2) Find out the length of the video using something like GetEndTime() or GetDuration(), and then use a timer, and once the times both match, go to the next page.

Is this possible, and if so, how? I've been trying to get the length of the video using GetEndTime or GetDuration, but I can't seem to work out how to do this.

Thanks very much for your help!

Piers
 
Back
Top