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 }}