You can make the settings you want. :wink:Code:<script type="text/javascript" src="http://yoursite.com/player/swfobject.js"></script> <?php $vshare_player = <<<EOT <p id="vshare_player">Get Flash to see this player.</p> <script type="text/javascript"> var so = new SWFObject("http://yoursite.com/player/player.swf","vshare_player","540","440","8"); so.addParam("allowfullscreen","false"); so.addVariable("file","{$file}"); so.addVariable("image","http://yoursite.com/thumb/$video_id.jpg"); so.addVariable("logo","http://yoursite.com/templates/images/watermark.gif"); so.addVariable("link","http://yoursite.com/index.php"); so.addVariable("width","540"); so.addVariable("height","440"); so.addVariable("displayheight","420"); so.addVariable("overstretch", "true"); so.addVariable("autostart", "false"); so.addVariable("bufferlength", "7"); so.write('vshare_player'); </script> EOT;
Bookmarks