added custom video overlay player to avoid to load all the iframe systematicly

This commit is contained in:
2017-02-11 13:12:11 +01:00
parent 990c5b5edf
commit 786f561936
10 changed files with 173 additions and 60 deletions
@@ -289,15 +289,14 @@ function clameurs_field_default_field_instances() {
'display' => array(
'accueil' => array(
'label' => 'hidden',
'module' => 'video_embed_field_overlay',
'module' => 'video_embed_field',
'settings' => array(
'description' => 1,
'description_position' => 'bottom',
'image_link' => 'source',
'image_style' => 'video_thumb_docu',
'overlay' => 'dom-window',
'show_thumbnail' => 1,
'video_style' => 'normal',
),
'type' => 'video_embed_field_overlay',
'type' => 'video_embed_field_thumbnail',
'weight' => 5,
),
'default' => array(
@@ -457,15 +456,14 @@ function clameurs_field_default_field_instances() {
'display' => array(
'accueil' => array(
'label' => 'hidden',
'module' => 'video_embed_field_overlay',
'module' => 'video_embed_field',
'settings' => array(
'description' => 1,
'description_position' => 'bottom',
'image_link' => 'source',
'image_style' => 'video_thumb_episode',
'overlay' => 'dom-window',
'show_thumbnail' => 1,
'video_style' => 'normal',
),
'type' => 'video_embed_field_overlay',
'type' => 'video_embed_field_thumbnail',
'weight' => 9,
),
'default' => array(
@@ -893,15 +891,14 @@ function clameurs_field_default_field_instances() {
'display' => array(
'accueil' => array(
'label' => 'hidden',
'module' => 'video_embed_field_overlay',
'module' => 'video_embed_field',
'settings' => array(
'description' => 1,
'description_position' => 'bottom',
'image_link' => 'source',
'image_style' => 'video_thumb_themat',
'overlay' => 'dom-window',
'show_thumbnail' => 1,
'video_style' => 'normal',
),
'type' => 'video_embed_field_overlay',
'type' => 'video_embed_field_thumbnail',
'weight' => 8,
),
'default' => array(