My script is being used inside a php file, everything works good. But, I don't want the movie to auto play and would like to use an image for user to click.
This is not working for me and has no effect on movie
<script type="text/javascript">
var s1 = new SWFObject("' . $fileLoc . 'player-licensed.swf","ply","'.$width.'","'.$height.'","10","#FFFFFF");
s1.addParam("start","false");
s1.addParam("image","http://www.audiotweaker.com/wp-content/themes/ondemand/images/logo.jpg");
s1.addParam("allowfullscreen","true");
s1.addParam("allownetworking","all");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=' . $url . $flashvars . '");
s1.write("videoContainer-' . $counter++ . '");
</script>
Can anyone shine some light?
Thanks a million,
Mark

v4 player supported flashvars: http://developer.longtailvideo.com/trac/wiki/FlashVars#Behaviour
autostart=false is the default, so your player shouldn't be starting unless you have something hidden in $flashvars.