@@ 4221-4224 (lines=4) @@ | ||
4218 | { |
|
4219 | $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>"; |
|
4220 | } |
|
4221 | else |
|
4222 | { |
|
4223 | $embed .= "<script type='text/javascript'>embed_flv('$width', '$height', '" . rawurlencode($this->get_link().'?file_extension=.'.$this->get_extension()) . "', '$placeholder', '$loop', '$mediaplayer');</script>"; |
|
4224 | } |
|
4225 | } |
|
4226 | // QuickTime 7 file types. Need to test with QuickTime 6. |
|
4227 | // Only handle MP3's if the Flash Media Player is not present. |
|
@@ 4251-4258 (lines=8) @@ | ||
4248 | elseif ($handler === 'wmedia') |
|
4249 | { |
|
4250 | $height += 45; |
|
4251 | if ($native) |
|
4252 | { |
|
4253 | $embed .= "<embed type=\"application/x-mplayer2\" src=\"" . $this->get_link() . "\" autosize=\"1\" width=\"$width\" height=\"$height\" showcontrols=\"1\" showstatusbar=\"0\" showdisplay=\"0\" autostart=\"0\"></embed>"; |
|
4254 | } |
|
4255 | else |
|
4256 | { |
|
4257 | $embed .= "<script type='text/javascript'>embed_wmedia('$width', '$height', '" . $this->get_link() . "');</script>"; |
|
4258 | } |
|
4259 | } |
|
4260 | // Everything else |
|
4261 | else $embed .= '<a href="' . $this->get_link() . '" class="' . $altclass . '">' . $alt . '</a>'; |