Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Windows Media Player - Automatic redirection after the end of the video


Message #1 by charalyi@n... on Tue, 8 Oct 2002 15:37:13
Hello all,

I have added streaming media to our intranet site with windows media 
technologies.

I would like at the end of the video, to automatically redirect the users 
to a new page, but i dont know how to do it.....

Is there a way to implement this?
Thanks in advanced.


here is the code
<HTML>
<HEAD>
<TITLE>Embedded Windows Media Player 6.4 Control</TITLE>
</HEAD>
<BODY>
<!-- *******************************************  -->
<p align="center">
<OBJECT ID="MediaPlayer" WIDTH=400 HEIGHT=320
  CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
  STANDBY="Loading Windows Media Player components..." 
  TYPE="application/x-oleobject"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf
.cab#Version=6,4,5,715" 

VIEWASTEXT>

  <PARAM name="autoStart" value="True">
  <PARAM name="filename" value="<%=Request.QueryString("URL")%>">
   

<EMBED TYPE="application/x-mplayer2" 
    SRC="<%=Request.QueryString("URL")%>"
    NAME="MediaPlayer"
    WIDTH=320
    HEIGHT=240>
  </EMBED>
</OBJECT>
</BODY>
</HTML>


  Return to Index