diff --git a/djangocms_video/templates/djangocms_video/default/video_player.html b/djangocms_video/templates/djangocms_video/default/video_player.html index 87e220d..6a88bc0 100644 --- a/djangocms_video/templates/djangocms_video/default/video_player.html +++ b/djangocms_video/templates/djangocms_video/default/video_player.html @@ -1,29 +1,32 @@ {% load i18n cms_tags %} -{% if instance.embed_link %} - {# show iframe if embed_link is provided #} - - {% with disabled=instance.embed_link %} - {% for plugin in instance.child_plugin_instances %} - {% render_plugin plugin %} - {% endfor %} - {% endwith %} -{% else %} - {# render or plugins #} - -{% endif %} -{% comment %} - # Available variables: - {{ instance.template }} - {{ instance.label }} - {{ instance.embed_link }} - {{ instance.poster }} - {{ instance.attributes_str }} -{% endcomment %} +
+ {% if instance.embed_link %} + {# show iframe if embed_link is provided #} + + {% with disabled=instance.embed_link %} + {% for plugin in instance.child_plugin_instances %} + {% render_plugin plugin %} + {% endfor %} + {% endwith %} + {% else %} + {# render or plugins #} + + {% endif %} + + {% comment %} + # Available variables: + {{ instance.template }} + {{ instance.label }} + {{ instance.embed_link }} + {{ instance.poster }} + {{ instance.attributes_str }} + {% endcomment %} +