From 3cdaf5400febe9c7201daa9095d0fde951a9c7c3 Mon Sep 17 00:00:00 2001 From: Mike Ng Date: Tue, 20 Mar 2018 12:03:28 +0400 Subject: [PATCH] fix issue with video preview --- templates/web/common/thumbnail.html.twig | 9 ++++++--- templates/web/prod/actions/Tools/index.html.twig | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/web/common/thumbnail.html.twig b/templates/web/common/thumbnail.html.twig index ba3d6c77cd..165e034046 100644 --- a/templates/web/common/thumbnail.html.twig +++ b/templates/web/common/thumbnail.html.twig @@ -13,7 +13,8 @@
+ data-kind="video" + data-src="{{ url('alchemy_embed_view', {url: url|trim, autoplay: autoplay|default('false') }) }}"> @@ -22,7 +23,8 @@
+ data-kind="document" + data-src="{{ url('alchemy_embed_view', {url: url|trim, autoplay: autoplay|default('false') }) }}"> @@ -31,7 +33,8 @@
+ data-kind="audio" + data-src="{{ url('alchemy_embed_view', {url: url|trim, autoplay: autoplay|default('false') }) }}"> diff --git a/templates/web/prod/actions/Tools/index.html.twig b/templates/web/prod/actions/Tools/index.html.twig index 7ca006134e..053fa20875 100644 --- a/templates/web/prod/actions/Tools/index.html.twig +++ b/templates/web/prod/actions/Tools/index.html.twig @@ -364,7 +364,8 @@ alertTitle: '{{ "alert" | trans }}', noImgSelected: '{{ "no image selected" | trans }}', processing: '{{ "processing" | trans }}', - thumbnailTitle: '{{ 'thumbnail validation' | trans }}' + thumbnailTitle: '{{ 'thumbnail validation' | trans }}', + updateTitle: '{{ 'Successful update' | trans }}' }, T_fields: {{ JSonFields|raw }}, videoEditorConfig: {% if videoEditorConfig is not null %}{{ videoEditorConfig|json_encode()|raw }}{% else %}{}{% endif %},