open videos on popup overlay
This commit is contained in:
@@ -46,6 +46,96 @@ function clameurs_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_image_default_styles().
|
||||
*/
|
||||
function clameurs_image_default_styles() {
|
||||
$styles = array();
|
||||
|
||||
// Exported image style: video_thumb_docu.
|
||||
$styles['video_thumb_docu'] = array(
|
||||
'label' => 'video_thumb_docu',
|
||||
'effects' => array(
|
||||
6 => array(
|
||||
'name' => 'image_scale',
|
||||
'data' => array(
|
||||
'width' => 300,
|
||||
'height' => 170,
|
||||
'upscale' => 0,
|
||||
),
|
||||
'weight' => 1,
|
||||
),
|
||||
7 => array(
|
||||
'name' => 'canvasactions_file2canvas',
|
||||
'data' => array(
|
||||
'xpos' => 'center',
|
||||
'ypos' => 'center',
|
||||
'alpha' => 90,
|
||||
'scale' => '',
|
||||
'path' => 'sites/all/themes/figureslibres/clameurs/images/video_overlay.png',
|
||||
),
|
||||
'weight' => 2,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Exported image style: video_thumb_episode.
|
||||
$styles['video_thumb_episode'] = array(
|
||||
'label' => 'video_thumb_episode',
|
||||
'effects' => array(
|
||||
8 => array(
|
||||
'name' => 'image_scale',
|
||||
'data' => array(
|
||||
'width' => 200,
|
||||
'height' => 111,
|
||||
'upscale' => 0,
|
||||
),
|
||||
'weight' => 1,
|
||||
),
|
||||
9 => array(
|
||||
'name' => 'canvasactions_file2canvas',
|
||||
'data' => array(
|
||||
'xpos' => 'center',
|
||||
'ypos' => 'center',
|
||||
'alpha' => 90,
|
||||
'scale' => '',
|
||||
'path' => 'sites/all/themes/figureslibres/clameurs/images/video_overlay.png',
|
||||
),
|
||||
'weight' => 2,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Exported image style: video_thumb_themat.
|
||||
$styles['video_thumb_themat'] = array(
|
||||
'label' => 'video_thumb_themat',
|
||||
'effects' => array(
|
||||
4 => array(
|
||||
'name' => 'image_scale',
|
||||
'data' => array(
|
||||
'width' => 760,
|
||||
'height' => 430,
|
||||
'upscale' => 0,
|
||||
),
|
||||
'weight' => 1,
|
||||
),
|
||||
5 => array(
|
||||
'name' => 'canvasactions_file2canvas',
|
||||
'data' => array(
|
||||
'xpos' => 'center',
|
||||
'ypos' => 'center',
|
||||
'alpha' => 90,
|
||||
'scale' => '',
|
||||
'path' => 'sites/all/themes/figureslibres/clameurs/images/video_overlay.png',
|
||||
),
|
||||
'weight' => 2,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
return $styles;
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_node_info().
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user