Jump to content

5 second video, then redirect


liriodedragn

Recommended Posts

I am trying to make it so that when someone clicks on a certain button, they will be directed to a page where an animation plays for about 5 secs and then they would automatically be redirected to another page. Can anyone help? :)

Link to comment
Share on other sites

this is pretty vague - but you're first page would simply link to your second page. the second page would have your code to play the ideo/animation - depending on what that is will depend on how you handle the second redirect. If your animation is in flash, then you woudl code your link in the SWF file. If it is anything else, then you've got other issues to deal with.If you can be a little more specific, a little more help might be possible.

Link to comment
Share on other sites

If it is not in flash (or even if it is and you don't code the redirect in ActionScript) you can easily set the meta refresh to 5 seconds...but...If the movie takes 3 seconds to load (the 5 second refresh starts ticking immediately) then that only leaves you 2 seconds out of 5 to play the movie.Since everyones connection is different and even the same connect isn't identical everytime, it is impossible to accurately do it this way.My suggestion is to make your video/animation in flasha nd let ActionScript take care of the refresh.You can have the redirect fire as soon as the video is done playing.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...