|
@@ 203-206 (lines=4) @@
|
| 200 |
|
} // No autoplay |
| 201 |
|
|
| 202 |
|
// Set the presentation size as specified or with some nicely sized dimensions |
| 203 |
|
if ( '' != trim( $atts['width'] ) ) { |
| 204 |
|
$this->presentation_settings['width'] = intval( $atts['width'] ); |
| 205 |
|
} else { |
| 206 |
|
$this->presentation_settings['width'] = 480; |
| 207 |
|
} |
| 208 |
|
|
| 209 |
|
if ( '' != trim( $atts['height'] ) ) { |
|
@@ 209-212 (lines=4) @@
|
| 206 |
|
$this->presentation_settings['width'] = 480; |
| 207 |
|
} |
| 208 |
|
|
| 209 |
|
if ( '' != trim( $atts['height'] ) ) { |
| 210 |
|
$this->presentation_settings['height'] = intval( $atts['height'] ); |
| 211 |
|
} else { |
| 212 |
|
$this->presentation_settings['height'] = 370; |
| 213 |
|
} |
| 214 |
|
|
| 215 |
|
// Hide the content by default in case the scripts fail |