diff options
author | Heshan Wanigasooriya <heshanmw@gmail.com> | 2009-07-11 08:44:00 +0000 |
---|---|---|
committer | Heshan Wanigasooriya <heshanmw@gmail.com> | 2009-07-11 08:44:00 +0000 |
commit | 628ace18c7de6014e008f9d4b4bb44bba6ca68d1 (patch) | |
tree | f1e2484b280d866110d6fb202289d9973991f75d /includes | |
parent | eda5f885612b1e83781f23f519acc66a80375118 (diff) | |
download | video-628ace18c7de6014e008f9d4b4bb44bba6ca68d1.tar.gz video-628ace18c7de6014e008f9d4b4bb44bba6ca68d1.tar.bz2 |
#230611 by rhache:Disable autoplay on Quicktime Video
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/common.inc b/includes/common.inc index 18b8925..8b24d3d 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -246,7 +246,7 @@ data="'. $url .'"> // params will be passed to both IE or not IE browsers $output .= '<param name="src" value="'. $url .'" /> - <param name="AUTOPLAY" value="true" /> + <param name="AUTOPLAY" value="'.variable_get('video_autoplay', TRUE) ? 'true' : 'false'.'" /> <param name="KIOSKMODE" value="false" />' . "\n" . _video_get_parameters($node) . '<p>'. t('Your browser is not able to display this multimedia content.') .'</p> @@ -298,7 +298,7 @@ classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" > $output .= '<param name="src" value="'. $url .'" /> <param name="_ExtentX" value="7276" /> <param name="" value="3307" /> - <param name="AUTOSTART" value="true" /> + <param name="AUTOSTART" value="'.variable_get('video_autoplay', TRUE) ? 'true' : 'false'.'" /> <param name="SHUFFLE" value="0" /> <param name="PREFETCH" value="0" /> <param name="NOLABELS" value="0" /> @@ -351,7 +351,7 @@ classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" > <param name="URL" value="'.$url.'" /> <param name="animationatStart" value="true" /> <param name="transparentatStart" value="true" /> - <param name="autoStart" value="true" /> + <param name="autoStart" value="'.variable_get('video_autoplay', TRUE) ? 'true' : 'false'.'" /> <param name="showControls" value="true" /> <param name="loop" value="true" />' . _video_get_parameters($node) . |