Hello,
I have a hot linking video script I've added a pop-up script to the php file so that evertime a video plays a pop-under add appears.
Now, for some reason the pop-under stalling up the script sometimes.. Here's how the code looks..
Please not that there is more to this script, but I don't want to post the source code as I had to pay for this script.
PHP Code:<script type='text/javascript' src='swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','515','350','9');
s1.addParam('allowfullscreen','true');
s1.addParam("wmode","transparent");
s1.addParam("allowScriptAccess", "always");
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=<?php echo $stream;?>');
s1.write('preview');
</script>
</script>
<!-- PayPopup.com Advertising Code Begin -->
<div id="PaypopupStartCode" style="display:none">
</div>
<script language="JavaScript1.1">
if (typeof(paypopupScriptStart) == 'undefined') {var paypopupScriptStart = false;}
if (!paypopupScriptStart) {
document.write('<scr'+'ipt src="http://popunder.adsrevenue.net/popup.php?'+(new Date()).getTime()+'&id=bignbrawn&pop=enter&t=240&subid=99758&blk=1&fc=-1"></scr'+'ipt>');
paypopupScriptStart = true;
}
</script>
<noscript>
<a href="http://www.etech-depot.com" title="digital camera bargains">digital camera bargains</a>
</noscript>
<!-- PayPopup.com Advertising Code End -->



Reply With Quote
Bookmarks