diff --git a/templates/web/prod/Share/record.html.twig b/templates/web/prod/Share/record.html.twig index ab2b3bd771..6fdecb50d3 100644 --- a/templates/web/prod/Share/record.html.twig +++ b/templates/web/prod/Share/record.html.twig @@ -65,15 +65,19 @@
{#{% if type == 'image' %}#} + {% set embedUrl = subdefList[defKey].embedUrl %} + {% if subdefList[defKey].height == 0 %} + {% set defKey = 'thumbnail' %} + {% endif %} {% spaceless %} {% endspaceless %}

- {{ 'previewLinkLabel' | trans }}    {{ 'copyClipboardLabel' | trans }}

diff --git a/templates/web/prod/actions/Tools/videoEditor.html.twig b/templates/web/prod/actions/Tools/videoEditor.html.twig index a788b2707a..0c70c7c7ba 100644 --- a/templates/web/prod/actions/Tools/videoEditor.html.twig +++ b/templates/web/prod/actions/Tools/videoEditor.html.twig @@ -229,7 +229,7 @@ {% endfor %} ], preferences: { - overlapChapters: {% if overlapChapters != NULL %}{{ overlapChapters }}{% else %}0{% endif %}, + overlapChapters: {% if overlapChapters != NULL %}{{ overlapChapters }}{% else %}1{% endif %}, } };