Desmond
10-03-2003, 10:38 AM
<HTML> <HEAD> <TITLE>AutoPlay Media Studio 5.0 Knowledge Base</TITLE> </HEAD> <BODY> <h3>Determining When a Video has Finished Playing</h3> <b>Document ID: IR10068</b> <hr> The information in this article applies to: <ul> <li>AutoPlay Media Studio 5.0 Standard Edition</li> <li>AutoPlay Media Studio 5.0 Professional Edition</li> </ul> <hr> <h3>SUMMARY</h3> <p>This article describes how to perform an action when a video finishes playing.</p> <h3>DISCUSSION</h3> <p>In AutoPlay Media Studio 5.0, it is possible to perform an action once your video has completed playing. Some uses for this include sending the user to your website after the video is finished, or loading up another video.<br> <br> To launch your website when a video finishes playing, place the following script in the On Finish event of the video object:<pre><code>File.OpenURL("http://www.indigorose.com/", SW_SHOWNORMAL);</code></pre> <h3>MORE INFORMATION</h3> <p>For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:</p> <ul> <li><b>Program Reference | Actions | Dialog | Dialog.FileBrowse</b></li> <li><b>Program Reference | Action Editor | Events</b></li> </ul> <p>KEYWORDS: AutoPlay Media Studio 5.0, Video, Finish, Stop, State </p> <hr> <FONT SIZE=1> Last reviewed: October 3, 2003<br> Copyright © 2003 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br> </FONT> </BODY> </HTML>