DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006

    help on redirect...

    I am helping with a small site that has about a 30 second video on it,,but with different speeds of downloads of various users I need to have the page redirect when the video ends, instead of setting a time from when the page loads. Here is the code I am using at the time. How can I change this to make it redirect as soon as the video is over.

    <meta http-equiv="REFRESH" content="31; URL=http://eliteflyers.net/index.php">

    <BODY BGCOLOR="#000000">

    <!-- begin embedded WindowsMedia file... -->
    <table border='0' cellpadding='0' align="center">

    <OBJECT id='mediaPlayer' width="320" height="240"
    standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
    <param name='fileName' value="http://trebiz.net/av8r/EF_256kmodem.wmv">
    <param name='animationatStart' value='true'>
    <param name='transparentatStart' value='true'>
    <param name='autoStart' value="true">
    <param name='showControls' value="false">
    <param name='loop' value="false">
    <EMBED type='application/x-mplayer2'
    id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
    bgcolor='darkblue' showcontrols="false" showtracker='-1'
    showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="240"
    src="http://trebiz.net/av8r/EF_256kmodem.wmv" autostart="true" designtimesp='5311' loop="false">
    <!-- ...end embedded WindowsMedia file -->
    <!-- begin link to launch external media player... -->
    <tr><td align='center'>
    <a href="http://eliteflyers.net/index.php">Click here when video is complete</a>
    <!-- ...end link to launch external media player... -->

  2. #2
    Join Date
    Jan 2006
    That would require Windows Media Player to alert your page somehow that the video has ended, or for your page to be able to monitor the state of the Windows Media Player. I don't think that's possible. But I could be wrong.

Similar Threads

  1. ASP Redirect and return
    By nkwilliams in forum VB Classic
    Replies: 4
    Last Post: 06-10-2005, 05:58 AM
  2. Redirect in window
    By maya in forum ASP.NET
    Replies: 1
    Last Post: 07-31-2001, 11:55 PM
  3. Replies: 0
    Last Post: 06-28-2001, 01:13 PM
  4. Replies: 0
    Last Post: 01-14-2001, 05:05 PM
  5. fill in input text box on the redirect page
    By Lisa Tang in forum Java
    Replies: 0
    Last Post: 06-27-2000, 09:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.