PDA

View Full Version : When video finishes, user is redirected


mattmill30
10-29-2006, 12:18 PM
hi,

I am trying to create a website that uses a video as its intro page. I want it to play the video and then when the video finishes it redirects the user to the next page.

I've tried using a redirect code that redirects after 17 seconds (the length of the video), but unfortunately it takes longer that 17 seconds to download the video as well as play it.

I am looking for a code that redirects the user as soon as the video finishes.

Please help, thanks.

blackpepper
10-29-2006, 12:34 PM
IMHO the best way is with flash... using geturl()
would you be interested in using a flash video instead?

mattmill30
10-29-2006, 12:40 PM
yes, as long as the quality is as good and it doesn't use up a load more space.

I don't mind, I just don't have any experience with flash. Is there a converter.

How would you do it?

(I have macromedia flash mx, just never got round to using it)

blackpepper
10-29-2006, 12:45 PM
hmmmmmm
open up flash, go to File > Import
find your movie, import it to the stage... then on the timeline, scroll to the last keyframe of the film, click on the keyframe, open up the actions panel.. and type this in

getURL("yourpage.html","_self");

it should actually be smaller if im thinking correctly