aboutsummaryrefslogtreecommitdiff
path: root/video.module
diff options
context:
space:
mode:
authorHeshan Wanigasooriya <heshanmw@gmail.com>2010-12-12 16:17:36 +0000
committerHeshan Wanigasooriya <heshanmw@gmail.com>2010-12-12 16:17:36 +0000
commit427d9f26ae67d2c533029b26ac6578528aaddb68 (patch)
tree5c56d7287384b803f392e5b23f5a66e95fb79334 /video.module
parenteaa5a4f6e2c2feac03442184198315eb795ac282 (diff)
downloadvideo-427d9f26ae67d2c533029b26ac6578528aaddb68.tar.gz
video-427d9f26ae67d2c533029b26ac6578528aaddb68.tar.bz2
Updating video default thumbnail field.
Diffstat (limited to 'video.module')
-rw-r--r--video.module16
1 files changed, 8 insertions, 8 deletions
diff --git a/video.module b/video.module
index 4d44270..05a88b6 100644
--- a/video.module
+++ b/video.module
@@ -831,14 +831,14 @@ function video_default_widget_settings($widget) {
'#value' => $widget['default_video_thumb'],
);
-// $form['default_video_thumbnail'] = array(
-// '#title' => t('Default video thumbnail'),
-// '#type' => 'managed_file',
-// '#description' => t('If use default thumbnanil is selected, this image will be shown on display.'),
-// '#default_value' => !empty($widget['default_video_thumbnail']) ? $widget['default_video_thumbnail'] : '',
-// '#upload_location' => 'public://default_video_thumbnail/',
-// '#weight' => 19,
-// );
+ $form['default_video_thumbnail'] = array(
+ '#title' => t('Default video thumbnail'),
+ '#type' => 'managed_file',
+ '#description' => t('If use default thumbnanil is selected, this image will be shown on display.'),
+ '#default_value' => !empty($widget['default_video_thumbnail']) ? $widget['default_video_thumbnail'] : '',
+ '#upload_location' => 'public://default_video_thumbnail/',
+ '#weight' => 19,
+ );
return $form;
}