function file_styles_video_default_effects in Styles 7
1 call to file_styles_video_default_effects()
- file_styles_styles_styles in contrib/
file_styles/ file_styles.module - Implements hook_styles_styles().
File
- contrib/
file_styles/ file_styles.module, line 105 - File widget formatter definitions.
Code
function file_styles_video_default_effects() {
return array(
'video_thumbnail' => array(
'name' => 'video_thumbnail',
'effects' => array(
array(
'label' => t('Thumbnail'),
'name' => 'thumbnail',
array(
'thumbnail' => TRUE,
),
),
array(
'label' => t('Resize'),
'name' => 'resize',
'data' => array(
'width' => 100,
'height' => 75,
),
),
),
),
'video_small' => array(
'name' => 'video_small',
'effects' => array(
array(
'label' => t('Resize'),
'name' => 'resize',
'data' => array(
'width' => 220,
'height' => 165,
),
),
),
),
'video_large' => array(
'name' => 'video_large',
'effects' => array(
array(
'label' => t('Resize'),
'name' => 'resize',
'data' => array(
'width' => 640,
'height' => 480,
),
),
),
),
);
}