summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorrit Schippers2012-08-25 10:08:38 (GMT)
committer Jorrit Schippers2012-08-25 10:08:38 (GMT)
commit0934828a77994bc33c67bd0a32d46f8b10636d81 (patch)
treebe8902f8875b01233c109c039ff21a3535d21346
parent9d754b0ea2ad9ea78f23d1f51f4d391b098528c5 (diff)
Changed default resolution from 640x264 to a more standard 640x360.
-rw-r--r--includes/videojs.admin.inc2
-rw-r--r--includes/videojs.theme.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/videojs.admin.inc b/includes/videojs.admin.inc
index 3f025be..f36c4af 100644
--- a/includes/videojs.admin.inc
+++ b/includes/videojs.admin.inc
@@ -39,7 +39,7 @@ function videojs_settings_form() {
$form['options']['videojs_height'] = array(
'#type' => 'textfield',
'#title' => t('Player height'),
- '#default_value' => variable_get('videojs_height', 264),
+ '#default_value' => variable_get('videojs_height', 360),
);
$form = system_settings_form($form);
diff --git a/includes/videojs.theme.inc b/includes/videojs.theme.inc
index f350a61..41fbede 100644
--- a/includes/videojs.theme.inc
+++ b/includes/videojs.theme.inc
@@ -27,7 +27,7 @@ function videojs_preprocess_videojs(&$vars) {
);
$vars['width'] = !empty($vars['attributes']['width']) ? $vars['attributes']['width'] : variable_get('videojs_width', 640);
- $vars['height'] = !empty($vars['attributes']['height']) ? $vars['attributes']['height'] : variable_get('videojs_height', 264);
+ $vars['height'] = !empty($vars['attributes']['height']) ? $vars['attributes']['height'] : variable_get('videojs_height', 360);
$vars['autoplay'] = !!variable_get('videojs_autoplay', FALSE);
$vars['items'] = array();
$vars['poster'] = NULL;