|
@@ 1146-1149 (lines=4) @@
|
| 1143 |
|
{ |
| 1144 |
|
$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>"; |
| 1145 |
|
} |
| 1146 |
|
else |
| 1147 |
|
{ |
| 1148 |
|
$embed .= "<script type='text/javascript'>embed_flv('$width', '$height', '" . rawurlencode($this->get_link().'?file_extension=.'.$this->get_extension()) . "', '$placeholder', '$loop', '$mediaplayer');</script>"; |
| 1149 |
|
} |
| 1150 |
|
} |
| 1151 |
|
|
| 1152 |
|
// QuickTime 7 file types. Need to test with QuickTime 6. |
|
@@ 1178-1185 (lines=8) @@
|
| 1175 |
|
elseif ($handler === 'wmedia') |
| 1176 |
|
{ |
| 1177 |
|
$height += 45; |
| 1178 |
|
if ($native) |
| 1179 |
|
{ |
| 1180 |
|
$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>"; |
| 1181 |
|
} |
| 1182 |
|
else |
| 1183 |
|
{ |
| 1184 |
|
$embed .= "<script type='text/javascript'>embed_wmedia('$width', '$height', '" . $this->get_link() . "');</script>"; |
| 1185 |
|
} |
| 1186 |
|
} |
| 1187 |
|
|
| 1188 |
|
// Everything else |