$embed .= "<script type='text/javascript'>embed_flash('
$bgcolor', '
$width', '
$height', '" .
$this->
get_link() . "', '
$loop', '
$type');</script>";
} } // Flash Media Player file types.
// Preferred handler for MP3 file types.
elseif ($handler === 'fmedia'
|| ($handler === 'mp3' &&
$mediaplayer !== ''
)) { $height += 20;
if ($native) { $embed .= "<embed src=\"
$mediaplayer\" pluginspage=\"http://adobe.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" quality=\"high\" width=\"
$width\" height=\"
$height\" wmode=\"transparent\" flashvars=\"file=" .
rawurlencode($this->
get_link().'?file_extension=.'.
$this->
get_extension()) . "&autostart=false&repeat=
$loop&showdigits=true&showfsbutton=false\"></embed>";
} else { $embed .= "<script type='text/javascript'>embed_flv('
$width', '
$height', '" .
rawurlencode($this->
get_link().'?file_extension=.'.
$this->
get_extension()) . "', '
$placeholder', '
$loop', '
$mediaplayer');</script>";
} } // QuickTime 7 file types. Need to test with QuickTime 6.
// Only handle MP3's if the Flash Media Player is not present.
elseif ($handler === 'quicktime'
|| ($handler === 'mp3' &&
$mediaplayer === ''
)) {