Hi Guys
I have intgrated this player into my site and would like to say thanks for your hard work.
I just have one small problem however.
I have 720 x 405 video and I have changed the code as you stated:
>
I think it would look fine, but if you want to change the size of the player permanantly, just input the dimensions in this line (2 places):
Change:
$pic_html = "<script type=\"text/javascript\" src=\"flashobject.js\"></script><div id=\"flashcontent\" style=\"width: 330px; height: 270px\"></div><script type=\"text/javascript\">var fo = new FlashObject(\"flvPlayer.swf\", \"animationName\", \"330\", \"270\", \"8\", \"#FFFFFF\");fo.addParam(\"allowScriptAccess\", \"sameDomain\");fo.addParam(\"quality\", \"high\");fo.addParam(\"FlashVars\", \"flvPath=$picture_url&flvTitle=$descript\");fo.addParam(\"wmode\", \"transparent\");fo.write(\"flashcontent\");</script>";
To (your dimensions):
$pic_html = "<script type=\"text/javascript\" src=\"flashobject.js\"></script><div id=\"flashcontent\" style=\"width: 480px; height: 360px\"></div><script type=\"text/javascript\">var fo = new FlashObject(\"flvPlayer.swf\", \"animationName\", \"480\", \"360\", \"8\", \"#FFFFFF\");fo.addParam(\"allowScriptAccess\", \"sameDomain\");fo.addParam(\"quality\", \"high\");fo.addParam(\"FlashVars\", \"flvPath=$picture_url&flvTitle=$descript\");fo.addParam(\"wmode\", \"transparent\");fo.write(\"flashcontent\");</script>";
>
substituting 720 and 405 in both places but it doesn't resize the player. It loads, sizes to the bottom of the screen and then bounces back where it was.
http://www.ampthill.tv/coppermine14x/displayimage.php?album=lastup&cat=3&pos=0Can anyone help?
Thanks
Howard