@@ 4203-4210 (lines=8) @@ | ||
4200 | // Flash |
|
4201 | if ($handler === 'flash') |
|
4202 | { |
|
4203 | if ($native) |
|
4204 | { |
|
4205 | $embed .= "<embed src=\"" . $this->get_link() . "\" pluginspage=\"http://adobe.com/go/getflashplayer\" type=\"$type\" quality=\"high\" width=\"$width\" height=\"$height\" bgcolor=\"$bgcolor\" loop=\"$loop\"></embed>"; |
|
4206 | } |
|
4207 | else |
|
4208 | { |
|
4209 | $embed .= "<script type='text/javascript'>embed_flash('$bgcolor', '$width', '$height', '" . $this->get_link() . "', '$loop', '$type');</script>"; |
|
4210 | } |
|
4211 | } |
|
4212 | // Flash Media Player file types. |
|
4213 | // Preferred handler for MP3 file types. |
|
@@ 4233-4240 (lines=8) @@ | ||
4230 | $height += 16; |
|
4231 | if ($native) |
|
4232 | { |
|
4233 | if ($placeholder !== '') |
|
4234 | { |
|
4235 | $embed .= "<embed type=\"$type\" style=\"cursor:hand; cursor:pointer;\" href=\"" . $this->get_link() . "\" src=\"$placeholder\" width=\"$width\" height=\"$height\" autoplay=\"false\" target=\"myself\" controller=\"false\" loop=\"$loop\" scale=\"aspect\" bgcolor=\"$bgcolor\" pluginspage=\"http://apple.com/quicktime/download/\"></embed>"; |
|
4236 | } |
|
4237 | else |
|
4238 | { |
|
4239 | $embed .= "<embed type=\"$type\" style=\"cursor:hand; cursor:pointer;\" src=\"" . $this->get_link() . "\" width=\"$width\" height=\"$height\" autoplay=\"false\" target=\"myself\" controller=\"true\" loop=\"$loop\" scale=\"aspect\" bgcolor=\"$bgcolor\" pluginspage=\"http://apple.com/quicktime/download/\"></embed>"; |
|
4240 | } |
|
4241 | } |
|
4242 | else |
|
4243 | { |