PHP Code:
<script type="text/javascript">
var so = new SWFObject
("http://www.****.com/flvPlayer.swf?
imagePath=http://www.***.com/image.jpg&vid
eoPath={param}
&autoStart=false&volAudio=60&newWidth=480&newHeig
ht=385&disableMiddleButton=false&playSounds=true&sou
ndBarColor=0x0066FF&barColor=0x0066FF&barShadowCo
lor=0x91BBFB&subbarColor=0xffffff", "sotester", "480",
"385", "9", "#efefef");
so.addParam
("allowFullScreen", "true");
so.write("flashcontent");
</script>
Tried this xHTML friendly and true JavaScript object declaration.. no luck. Also you need to tell people they need a JavaScript include within the headerinclude templates for your swfobject.js