help on redirect...


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: help on redirect...

  1. #1
    Join Date
    Feb 2006
    Posts
    1

    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.


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

    <BODY BGCOLOR="#000000">

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

    <tr><td>
    <OBJECT id='mediaPlayer' width="320" height="240"
    classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
    codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
    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'
    pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
    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">
    </EMBED>
    </OBJECT>
    </td></tr>
    <!-- ...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... -->
    </td></tr>
    </table>

  2. #2
    Join Date
    Jan 2006
    Posts
    53
    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, 06:58 AM
  2. Redirect in window
    By maya in forum ASP.NET
    Replies: 1
    Last Post: 08-01-2001, 12:55 AM
  3. Replies: 0
    Last Post: 06-28-2001, 02:13 PM
  4. Replies: 0
    Last Post: 01-14-2001, 06: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, 10: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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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