Hallo I need some help/comments on my embedding code used for simple mpeg1 embedding. The code works fine BUT if the user clicks on the stop button in the player, before the movie is fully loaded, then the browser freezes until the movie have loaded..this is very weird, it must be possiple to stop the request made for the file? and move away from the website containing the embedded file without this crap?
here is the code used:
any help will make my day more enjoyable!

PHP Code:
<SCRIPT>
if (navigator.appName == "Netscape") {
document.writeln('<APPLET NAME="Player" HEIGHT="320" WIDTH="240" CODE="WMPNS.WMP">');
document.writeln(' <PARAM NAME="URL" VALUE="movie.mpg"/>');
document.writeln('</APPLET>');
} else {
document.writeln('<OBJECT ID="WMPlay" 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">');
document.writeln('<PARAM name="FileName" value="movie.mpg">');
document.writeln('<PARAM name="DisplaySize" value="0">');
document.writeln('<PARAM name="cache" value="true">');
document.writeln('<PARAM name="bgcolor" value="black">');
document.writeln('<PARAM name="autoplay" value="true">');
document.writeln('<PARAM name="loop" value="true">');
document.writeln('<PARAM name="ShowStatusBar" VALUE="True">');
document.writeln('</EMBED></OBJECT>');
}
</SCRIPT>