diff options
author | Luke Last <lukelast@30151.no-reply.drupal.org> | 2005-09-12 08:33:04 +0000 |
---|---|---|
committer | Luke Last <lukelast@30151.no-reply.drupal.org> | 2005-09-12 08:33:04 +0000 |
commit | 2614fceaee71ff10e5a4b46adf6e5227310a134f (patch) | |
tree | a3d1e8923e6c019d190ef975b8ec6e8df6f2d662 | |
parent | e458f77e73fc289e05e92a3f1ad1098e72a86e8a (diff) | |
download | video-2614fceaee71ff10e5a4b46adf6e5227310a134f.tar.gz video-2614fceaee71ff10e5a4b46adf6e5227310a134f.tar.bz2 |
Fixes quicktime display on IE. http://drupal.org/node/30951
-rw-r--r-- | video.module | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/video.module b/video.module index 0cfb20d..479b820 100644 --- a/video.module +++ b/video.module @@ -746,11 +746,12 @@ function theme_video_play_flash(&$node) { * string of content to display */ function theme_video_play_quicktime(&$node) { - $output = '<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="'.$node->videox.'" height="'.$node->videoy.'" scale="tofit" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> + $height = $node->videoy + 16; //Increase the height to accommodate the player controls on the bottom. + $output = '<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="'.$node->videox.'" height="'.$height.'" scale="tofit" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> <param name="SRC" value="'.$node->vidfile.'" /> <param name="AUTOPLAY" value="true" /> <param name="KIOSKMODE" value="false" /> - <embed src="'.$node->vidfile.'" width="'.$node->videox.'" height="'.$node->videoy.'" scale="tofit" autoplay="true" kioskmode="false" pluginspage="http://www.apple.com/quicktime/download/"> + <embed src="'.$node->vidfile.'" width="'.$node->videox.'" height="'.$height.'" scale="tofit" autoplay="true" kioskmode="false" pluginspage="http://www.apple.com/quicktime/download/"> </embed> </object>'; $output = _theme_video_format_play($output, t('http://www.apple.com/quicktime/download'), |