Hello Guys i need some help in coding i hope someone will help.. Actually this is my Code for the JWplayer i'm using in my website <form method="POST" action=""> <label for="author"><span style="color: #000000;"><b></b></label><input type="text" style="width:400px;" name="link" value="Enter Your Video URL here" onBlur="if(this.value=='') this.value='Enter Your Video URL here';" onFocus="if(this.value=='Enter Your Video URL here') this.value='';" /> <input type="submit" style="width:150px;" value="Skip Limits" name="Submit" /> </form> <?php if (isset($_POST["link"]) and isset($_POST["Submit"])) { $url= strip_tags($_POST["link"]); echo '<object id="flashplayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="780" height="493"> <param name="movie" value="player.swf" /> <param name="allowFullScreen" value="true" /> <param name="allowScriptAccess" value="always" /> <param name="FlashVars" value="plugins=plugins/proxy.swf&proxy.link=$url" /> <embed name="flashplayer" src="player.swf" FlashVars="plugins=plugins/proxy.swf&proxy.link=' . $url . '" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="740" height="493" /> </object>'; } ?> Code (markup): and i want to add ads in both sides of this Video Player. here is a Sample i want to display the ads. please someone edit my player code so i can add the ad in the both sides of my player..
You can use DIV tag to do that, try this Styles: #wrapper{ width:...px; height:...px; } #ads_left{ float:left; width: 120px; height: 240px; } #media { float:left; width: ...px; height: ...px; } #ads_right { float:right; width: 120px; height: 240px; } HTML: <div id='wrapper'> <div id='ads_left'>ADS_LEFT</div> <div id='media'>MEDIA HERE</div> <div id='ads_right'>ADS_RIGHT</div> </div>