Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-01-2002, 02:52 PM   #1
xxxtera
Confirmed User
 
Join Date: Feb 2002
Posts: 139
:mad Need help with embedding problem!!

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> 

Last edited by xxxtera; 10-01-2002 at 02:54 PM..
xxxtera is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-01-2002, 03:38 PM   #2
xxxtera
Confirmed User
 
Join Date: Feb 2002
Posts: 139
sorry if the PHP tags confuse you.. I didnīt know how to insert the normal embedding code without them?
xxxtera is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright Đ 2000- Jelsoft Enterprises Limited.