aboutsummaryrefslogtreecommitdiff
path: root/video.module
diff options
context:
space:
mode:
authorHeshan Wanigasooriya <heshanmw@gmail.com>2009-07-11 08:44:00 +0000
committerHeshan Wanigasooriya <heshanmw@gmail.com>2009-07-11 08:44:00 +0000
commit628ace18c7de6014e008f9d4b4bb44bba6ca68d1 (patch)
treef1e2484b280d866110d6fb202289d9973991f75d /video.module
parenteda5f885612b1e83781f23f519acc66a80375118 (diff)
downloadvideo-628ace18c7de6014e008f9d4b4bb44bba6ca68d1.tar.gz
video-628ace18c7de6014e008f9d4b4bb44bba6ca68d1.tar.bz2
#230611 by rhache:Disable autoplay on Quicktime Video
Diffstat (limited to 'video.module')
-rw-r--r--video.module10
1 files changed, 8 insertions, 2 deletions
diff --git a/video.module b/video.module
index 6f079fd..dd0dd8e 100644
--- a/video.module
+++ b/video.module
@@ -282,14 +282,20 @@ function video_settings_form() {
'#default_value' => variable_get('video_displayfilesize', 1),
'#description' => t('Toggle the display of the filesize for a video.')
);
-
+ $form['menu']['video_autoplay'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Automatically start video on page load'),
+ '#default_value' => variable_get('video_autoplay', TRUE),
+ '#description' => t('Start the video when the page and video loads')
+ );
+
$form['resolutions'] = array(
'#type' => 'fieldset',
'#title' => t('Video resolutions'),
'#collapsible' => TRUE,
'#collapsed' => TRUE
);
-
+
$form['resolutions']["video_resolution_width"] = array(
'#type' => 'textfield',
'#title' => t("Default width"),