diff --git a/sections/image-with-text.liquid b/sections/image-with-text.liquid
index c9e8a25..56a0f7d 100644
--- a/sections/image-with-text.liquid
+++ b/sections/image-with-text.liquid
@@ -44,7 +44,9 @@
style="padding-bottom: {{ 1 | divided_by: section.settings.image.aspect_ratio | times: 100 }}%;"
{% endif %}
>
- {%- if section.settings.image != blank -%}
+ {% if section.settings.video != blank %}
+ {{ section.settings.video | video_tag: autoplay: true, loop: true }}
+ {%- elsif section.settings.image != blank -%}
{%- if section.settings.image_behavior == 'ambient' or section.settings.image_behavior == 'zoom-in' -%}
{%- assign widths = '198, 432, 642, 900, 1284, 1800' -%}
{%- capture sizes -%}
@@ -214,6 +216,11 @@
"id": "image",
"label": "t:sections.image-with-text.settings.image.label"
},
+ {
+ "type": "video",
+ "id": "video",
+ "label": "shx-custom Select video"
+ },
{
"type": "select",
"id": "height",
diff --git a/templates/page.json b/templates/page.json
index d581c0c..d68b7e6 100644
--- a/templates/page.json
+++ b/templates/page.json
@@ -20,100 +20,25 @@
"padding_bottom": 100
}
},
- "custom_liquid_ni6GcW": {
- "type": "custom-liquid",
- "disabled": true,
- "settings": {
- "custom_liquid": "",
- "color_scheme": "",
- "padding_top": 0,
- "padding_bottom": 0
- }
- },
- "custom_liquid_RFM8mJ": {
- "type": "custom-liquid",
- "disabled": true,
- "settings": {
- "custom_liquid": "{% render \"shx-landingpage-banner\", mobile_image: \"IMG_2820fin.jpg\" %}",
- "color_scheme": "",
- "padding_top": 40,
- "padding_bottom": 52
- }
- },
- "custom_liquid_pL6Gqt": {
- "type": "custom-liquid",
- "settings": {
- "custom_liquid": "{% render \"shx-landingpage-banner\", desktop_image: \"landingpage-texte-desktop.webp\", mobile_image: \"landingpage-texte-mobile2.webp\", mobile_image_height: \"300px\" %}",
- "color_scheme": "",
- "padding_top": 0,
- "padding_bottom": 52
- }
- },
- "custom_liquid_wDE9bc": {
- "type": "custom-liquid",
- "disabled": true,
- "settings": {
- "custom_liquid": "