hello ovidiu, sorry, for the late reply... it is not being stripped, this last div is for the alternative content, e.g. no flash player.
However, I found the problem is that for some reason the display property for the script on your site is set to none.
Replace the content of /showtime /showtime.class.php with this: (will be fixed in next release)
<?php
class wordpress_showtime_slideshow {
var $gid = 0;
function wp_gallery_st_shortcut($attr, $type) {
global $post;
global $wp_version;
global $stOptions;
$attributes = $attr;
if ( $type )
$slide = 1;
else
$slide = 0;
$height = get_option( 'st_height' );
$width = get_option( 'st_width' );
$transition = get_option( 'st_transition' );
$transitiontime = get_option( 'st_transitiontime' );
$transitionease = get_option( 'st_easeFunc' ).get_option( 'st_ease' );
$rotationtime = get_option( 'st_rotatetime' );
$showcontrols = get_option( 'st_showcontrols' );
$showtext = get_option( 'st_showtext' );
$autoplay = get_option( 'st_autoplay' );
$shuffle = get_option( 'st_shuffle' );
$scale = get_option( 'st_scalemode' );
extract(shortcode_atts(array(
'id' => $post->ID,
'width' => $width,
'height' => $height,
'rotationtime' => $rotationtime,
'transition' => $transition,
'transitiontime' => $transitiontime,
'transitionease' => $transitionease,
'autoplay' => $autoplay,
'showcontrols' => $showcontrols,
'showtext' => $showtext,
'shuffle' => $shuffle,
'scale' => $scale
), $attr));
$id = intval($id);
if ( function_exists( 'gallery_shortcode' ) ) {
$gallery = gallery_shortcode( $attributes );
}
$this->gid++;
if ( $slide )
$output = "
<div style='display:visible'>
<script type='text/javascript'>
var flashvars = {};
flashvars.xml = '" . plugins_url($path = $stOptions->_pluginSubfolderName . '/showtime/getxml.php') . "?id=$id';
flashvars.width = '$width';
flashvars.height = '$height';
flashvars.rotationtime = '$rotationtime';
flashvars.transitiontime = '$transitiontime';
flashvars.transition = '$transition';
flashvars.transitionease = '$transitionease';
flashvars.autoplay = '$autoplay';
flashvars.showcontrols = '$showcontrols';
flashvars.showtext = '$showtext';
flashvars.shuffle = '$shuffle';
flashvars.scale = '$scale';
var params = {};
params.allowFullScreen = 'true';
//params.wmode = 'transparent';
var attributes = {};
attributes.styleclass = 'showtime';
swfobject.embedSWF ('" . plugins_url($path = $stOptions->_pluginSubfolderName . '/showtime/showtime.swf') . "', 'st_" . $this->gid . "', '$width', '$height', '9.0.0', false, flashvars, params, attributes);
</script>
<!-- alternative content -->
<div id='st_" . $this->gid . "'>$gallery</div>
</div>
\n";
else
$output = "<div class='gallery' id='gallery_" . $this->gid . "'>
$gallery
</div>
\n";
return $output;
}
function checkOn( $string ) {
if ( $string == "on" || $string == "true" || $string == "yes" ) {
return "true";
} else {
return "false";
}
}
function addToHeader() {
global $stOptions;
wp_enqueue_script( 'swfobject', plugins_url($path = $stOptions->_pluginSubfolderName . '/showtime/swfobject/swfobject.js'), false, '2.2' );
}
function encode($x) {
return base64_encode(rawurlencode($x));
}
function wp_gallery_st_own_shortcut($attr) {
return $this->wp_gallery_st_shortcut($attr, 1);
}
}
?>