instead of using this:
PHP Code:
?>
<embed width="<?php echo $flashWidth;?>" height="<?php echo $flashHeight;?>" flashvars="<?php echo $flashVars;?>" wmode="transparent" allowscriptaccess="always" quality="high" bgcolor="#<?php echo $flashBackgroundColor;?>" name="vbCloudFlash" id="vbCloudFlash" style="" src="<?php echo $vbulletin->options['homeurl'].'/'.$flashPath;?>" type="application/x-shockwave-flash"/>
<?php
I would make it a var, so you don't have to close/open php, such as this:
PHP Code:
$content = '<embed width="".$flashWidth."" height="".$flashHeight."" flashvars="".$flashVars."" wmode="transparent" allowscriptaccess="always" quality="high" bgcolor="#".$flashBackgroundColor."" name="vbCloudFlash" id="vbCloudFlash" style="" src="".$vbulletin->options['homeurl'].'/'.$flashPath."" type="application/x-shockwave-flash"/>';