aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--video.module6
1 files changed, 4 insertions, 2 deletions
diff --git a/video.module b/video.module
index dd6bd78..33a4c3c 100644
--- a/video.module
+++ b/video.module
@@ -930,16 +930,18 @@ function theme_video_play_flash($node) {
$url = _video_get_fileurl($node->vidfile);
$file = basename($url);
$base_url = substr($url, 0, strrpos($url, '/'));
+
+ $height = $node->videoy + 24; // add commands height
// this will be executed by not Internet Explorer browsers
$output = '<!--[if !IE]> <-->
-<object type="application/x-shockwave-flash" width="'. $node->videox .'" height="'. $node->videoy .'"
+<object type="application/x-shockwave-flash" width="'. $node->videox .'" height="'. $height .'"
data="'. url() . check_plain($loader_location) .'">
<!--> <![endif]-->' . "\n";
// this will be executed by Internet Explorer
$output .= '<!--[if IE]>
-<object type="application/x-shockwave-flash" width="'. $node->videox .'" height="'. $node->videoy .'"
+<object type="application/x-shockwave-flash" width="'. $node->videox .'" height="'. $height .'"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<![endif]-->' . "\n";