public static function videojs_utility::getDefaultDisplaySettings in Video.js (HTML5 Video Player) 7.3
3 calls to videojs_utility::getDefaultDisplaySettings()
- videojs_field_formatter_info in ./
videojs.module - Implements hook_field_formatter_info().
- videojs_utility::getDisplaySettings in includes/
videojs.utility.inc - videojs_utility::getDisplaySettingsForm in includes/
videojs.utility.inc
File
- includes/
videojs.utility.inc, line 109 - This file will be used to keep all utility functions.
Class
- videojs_utility
- Helper functions for the Video.js module.
Code
public static function getDefaultDisplaySettings() {
return array(
'loop' => variable_get('videojs_loop', FALSE),
'hidecontrols' => variable_get('videojs_hidecontrols', FALSE),
'autoplay' => variable_get('videojs_autoplay', FALSE),
'width' => variable_get('videojs_width', 640),
'height' => variable_get('videojs_height', 360),
'centeredplaybutton' => variable_get('videojs_centeredplaybutton', FALSE),
'preload' => variable_get('videojs_preload', 'auto'),
'defaulttrack' => variable_get('videojs_defaulttrack', ''),
);
}