add video
parent
7208060dcd
commit
30e6dedeae
|
@ -45,7 +45,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
>
|
>
|
||||||
{% if section.settings.video != blank %}
|
{% if section.settings.video != blank %}
|
||||||
{{ section.settings.video | video_tag: autoplay: true, loop: true }}
|
{{ section.settings.video | video_tag: autoplay: true, loop: true, image_size: "366px" }}
|
||||||
{%- elsif section.settings.image != blank -%}
|
{%- elsif section.settings.image != blank -%}
|
||||||
{%- if section.settings.image_behavior == 'ambient' or section.settings.image_behavior == 'zoom-in' -%}
|
{%- if section.settings.image_behavior == 'ambient' or section.settings.image_behavior == 'zoom-in' -%}
|
||||||
{%- assign widths = '198, 432, 642, 900, 1284, 1800' -%}
|
{%- assign widths = '198, 432, 642, 900, 1284, 1800' -%}
|
||||||
|
|
Loading…
Reference in New Issue