I will re state what i am doing because i think I might not have given enough detail I am trying to load the player from a javascript file. there will be no video or anything on the page before. but once the user clicks a button my javascript file will then make a call via ajax to my php script and that then activates the code
“$args = array();
$args[‘src’] = $url;
if( $splash = get_post_meta( $id, ‘thumb’, true ) ) {
$args[‘splash’] = $splash;
}
echo flowplayer_content_handle( $args );”
then after this is echoed to javascript it prepends the html to the page