open videos on popup overlay
This commit is contained in:
@@ -382,14 +382,15 @@ function clameurs_field_default_field_instances() {
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'video_embed_field',
|
||||
'module' => 'video_embed_field_overlay',
|
||||
'settings' => array(
|
||||
'description' => 1,
|
||||
'description_position' => 'bottom',
|
||||
'image_link' => 'source',
|
||||
'image_style' => 'large',
|
||||
'image_style' => 'video_thumb_docu',
|
||||
'overlay' => 'dom-window',
|
||||
'show_thumbnail' => 1,
|
||||
'video_style' => 'normal',
|
||||
),
|
||||
'type' => 'video_embed_field_thumbnail',
|
||||
'type' => 'video_embed_field_overlay',
|
||||
'weight' => 2,
|
||||
),
|
||||
),
|
||||
@@ -571,14 +572,15 @@ function clameurs_field_default_field_instances() {
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'video_embed_field',
|
||||
'module' => 'video_embed_field_overlay',
|
||||
'settings' => array(
|
||||
'description' => 1,
|
||||
'description_position' => 'bottom',
|
||||
'image_link' => 'source',
|
||||
'image_style' => 'medium',
|
||||
'image_style' => 'video_thumb_episode',
|
||||
'overlay' => 'dom-window',
|
||||
'show_thumbnail' => 1,
|
||||
'video_style' => 'normal',
|
||||
),
|
||||
'type' => 'video_embed_field_thumbnail',
|
||||
'type' => 'video_embed_field_overlay',
|
||||
'weight' => 2,
|
||||
),
|
||||
),
|
||||
|
||||
@@ -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().
|
||||
*/
|
||||
|
||||
@@ -36,7 +36,7 @@ function clameurs_field_group_info() {
|
||||
'formatter' => 'closed',
|
||||
),
|
||||
);
|
||||
$field_groups[''] = $field_group;
|
||||
$field_groups['group_eclairage|node|thematique|form'] = $field_group;
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
@@ -64,7 +64,7 @@ function clameurs_field_group_info() {
|
||||
),
|
||||
),
|
||||
);
|
||||
$field_groups[''] = $field_group;
|
||||
$field_groups['group_episodes|node|thematique|form'] = $field_group;
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
@@ -90,7 +90,7 @@ function clameurs_field_group_info() {
|
||||
),
|
||||
),
|
||||
);
|
||||
$field_groups[''] = $field_group;
|
||||
$field_groups['group_htabs|node|documentair|form'] = $field_group;
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
@@ -116,7 +116,7 @@ function clameurs_field_group_info() {
|
||||
),
|
||||
),
|
||||
);
|
||||
$field_groups[''] = $field_group;
|
||||
$field_groups['group_htabs|node|episode|form'] = $field_group;
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
@@ -144,7 +144,7 @@ function clameurs_field_group_info() {
|
||||
),
|
||||
),
|
||||
);
|
||||
$field_groups[''] = $field_group;
|
||||
$field_groups['group_htabs|node|thematique|form'] = $field_group;
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
@@ -172,7 +172,7 @@ function clameurs_field_group_info() {
|
||||
),
|
||||
),
|
||||
);
|
||||
$field_groups[''] = $field_group;
|
||||
$field_groups['group_texte|node|documentair|form'] = $field_group;
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
@@ -200,7 +200,7 @@ function clameurs_field_group_info() {
|
||||
),
|
||||
),
|
||||
);
|
||||
$field_groups[''] = $field_group;
|
||||
$field_groups['group_texte|node|episode|form'] = $field_group;
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
@@ -227,7 +227,7 @@ function clameurs_field_group_info() {
|
||||
),
|
||||
),
|
||||
);
|
||||
$field_groups[''] = $field_group;
|
||||
$field_groups['group_texte|node|thematique|form'] = $field_group;
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
@@ -257,7 +257,7 @@ function clameurs_field_group_info() {
|
||||
),
|
||||
),
|
||||
);
|
||||
$field_groups[''] = $field_group;
|
||||
$field_groups['group_video|node|documentair|form'] = $field_group;
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
@@ -287,7 +287,7 @@ function clameurs_field_group_info() {
|
||||
),
|
||||
),
|
||||
);
|
||||
$field_groups[''] = $field_group;
|
||||
$field_groups['group_video|node|episode|form'] = $field_group;
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
@@ -317,7 +317,7 @@ function clameurs_field_group_info() {
|
||||
),
|
||||
),
|
||||
);
|
||||
$field_groups[''] = $field_group;
|
||||
$field_groups['group_video|node|thematique|form'] = $field_group;
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
|
||||
@@ -5,12 +5,17 @@ dependencies[] = cer
|
||||
dependencies[] = clone
|
||||
dependencies[] = ctools
|
||||
dependencies[] = ctools_custom_content
|
||||
dependencies[] = domwindow
|
||||
dependencies[] = entity
|
||||
dependencies[] = entityreference
|
||||
dependencies[] = features
|
||||
dependencies[] = field_extrawidgets
|
||||
dependencies[] = field_group
|
||||
dependencies[] = field_object
|
||||
dependencies[] = image
|
||||
dependencies[] = imagecache_actions
|
||||
dependencies[] = imagecache_canvasactions
|
||||
dependencies[] = libraries
|
||||
dependencies[] = list
|
||||
dependencies[] = login_destination
|
||||
dependencies[] = node
|
||||
@@ -21,9 +26,11 @@ dependencies[] = panels
|
||||
dependencies[] = panels_mini
|
||||
dependencies[] = rules
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = styles
|
||||
dependencies[] = taxonomy
|
||||
dependencies[] = text
|
||||
dependencies[] = video_embed_field
|
||||
dependencies[] = video_embed_field_overlay
|
||||
dependencies[] = video_filter_field
|
||||
features[cer][] = node:documentair:field_thematique*node:thematique:field_eclairages
|
||||
features[cer][] = node:thematique:field_episodes*node:episode:field_thematique
|
||||
@@ -79,6 +86,9 @@ features[field_instance][] = node-thematique-field_eclairages
|
||||
features[field_instance][] = node-thematique-field_ecouter
|
||||
features[field_instance][] = node-thematique-field_emvideo
|
||||
features[field_instance][] = node-thematique-field_episodes
|
||||
features[image][] = video_thumb_docu
|
||||
features[image][] = video_thumb_episode
|
||||
features[image][] = video_thumb_themat
|
||||
features[node][] = documentair
|
||||
features[node][] = episode
|
||||
features[node][] = thematique
|
||||
|
||||
@@ -94,6 +94,7 @@ function clameurs_default_page_manager_pages() {
|
||||
'default' => NULL,
|
||||
'middle' => NULL,
|
||||
),
|
||||
'style' => 'naked',
|
||||
);
|
||||
$display->cache = array();
|
||||
$display->title = '';
|
||||
@@ -116,15 +117,19 @@ function clameurs_default_page_manager_pages() {
|
||||
'identifier' => '',
|
||||
'build_mode' => 'teaser',
|
||||
'link_node_title' => 0,
|
||||
'override_title' => 0,
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '',
|
||||
'override_title_heading' => 'h2',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
'style' => 'naked',
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'about-pan',
|
||||
'css_class' => '',
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
@@ -149,8 +154,12 @@ function clameurs_default_page_manager_pages() {
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
'style' => 'naked',
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => '',
|
||||
'css_class' => 'thematique',
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
@@ -175,6 +184,7 @@ function clameurs_default_page_manager_pages() {
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
'style' => 'naked',
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
@@ -201,6 +211,7 @@ function clameurs_default_page_manager_pages() {
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
'style' => 'naked',
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
@@ -227,6 +238,7 @@ function clameurs_default_page_manager_pages() {
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
'style' => 'naked',
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
@@ -253,6 +265,7 @@ function clameurs_default_page_manager_pages() {
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
'style' => 'naked',
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
@@ -279,6 +292,7 @@ function clameurs_default_page_manager_pages() {
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
'style' => 'naked',
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
|
||||
@@ -40,6 +40,7 @@ function clameurs_default_panels_mini() {
|
||||
'right' => NULL,
|
||||
'bottom' => NULL,
|
||||
),
|
||||
'style' => 'naked',
|
||||
);
|
||||
$display->cache = array();
|
||||
$display->title = '%node:title';
|
||||
@@ -74,6 +75,7 @@ function clameurs_default_panels_mini() {
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
'style' => 'naked',
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
@@ -91,11 +93,13 @@ function clameurs_default_panels_mini() {
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'hidden',
|
||||
'formatter' => 'text_default',
|
||||
'formatter' => 'text_summary_or_trimmed',
|
||||
'delta_limit' => 0,
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => FALSE,
|
||||
'formatter_settings' => array(),
|
||||
'formatter_settings' => array(
|
||||
'trim_length' => '600',
|
||||
),
|
||||
'context' => 'requiredcontext_entity:node_1',
|
||||
'override_title' => 0,
|
||||
'override_title_text' => '',
|
||||
@@ -104,6 +108,7 @@ function clameurs_default_panels_mini() {
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
'style' => 'naked',
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
@@ -121,13 +126,16 @@ function clameurs_default_panels_mini() {
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'hidden',
|
||||
'formatter' => 'video_embed_field_thumbnail',
|
||||
'formatter' => 'video_embed_field_overlay',
|
||||
'delta_limit' => 0,
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => FALSE,
|
||||
'formatter_settings' => array(
|
||||
'image_style' => 'large',
|
||||
'image_style' => 'video_thumb_themat',
|
||||
'image_link' => 'source',
|
||||
'video_style' => 'normal',
|
||||
'show_thumbnail' => '1',
|
||||
'overlay' => 'dom-window',
|
||||
),
|
||||
'context' => 'requiredcontext_entity:node_1',
|
||||
'override_title' => 0,
|
||||
@@ -137,6 +145,7 @@ function clameurs_default_panels_mini() {
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
'style' => 'naked',
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
@@ -171,6 +180,7 @@ function clameurs_default_panels_mini() {
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
'style' => 'naked',
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
@@ -179,6 +189,35 @@ function clameurs_default_panels_mini() {
|
||||
$pane->uuid = '5c424baf-2ef8-471e-a7f5-d8a5d8048b59';
|
||||
$display->content['new-5c424baf-2ef8-471e-a7f5-d8a5d8048b59'] = $pane;
|
||||
$display->panels['right'][0] = 'new-5c424baf-2ef8-471e-a7f5-d8a5d8048b59';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-5e7b0d6a-9243-4776-b535-b14d3cff1df1';
|
||||
$pane->panel = 'top';
|
||||
$pane->type = 'node_title';
|
||||
$pane->subtype = 'node_title';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'link' => 0,
|
||||
'markup' => 'h2',
|
||||
'id' => '',
|
||||
'class' => '',
|
||||
'context' => 'requiredcontext_entity:node_1',
|
||||
'override_title' => 0,
|
||||
'override_title_text' => '',
|
||||
'override_title_heading' => 'h2',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
'style' => 'naked',
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '5e7b0d6a-9243-4776-b535-b14d3cff1df1';
|
||||
$display->content['new-5e7b0d6a-9243-4776-b535-b14d3cff1df1'] = $pane;
|
||||
$display->panels['top'][0] = 'new-5e7b0d6a-9243-4776-b535-b14d3cff1df1';
|
||||
$display->hide_title = PANELS_TITLE_FIXED;
|
||||
$display->title_pane = 'new-3d79c2a1-ab4e-4a2d-a4d6-3a3960f7ae93';
|
||||
$mini->display = $display;
|
||||
|
||||
Reference in New Issue
Block a user