{% extends "page/details/inc/tabs.html.twig" %} {% block details_tabs %} {% if oDetailsProduct.getVideoIds() %} {% capture append = "aTabHeaders" %} {% endcapture %} {% capture append = "aTabDropdowns" %}
  • {% endcapture %} {% capture append = "aTabContents" %} {% set sVideoType = oViewConf.getExternalVideoType() %}
    {% for iKey, sVideoId in oDetailsProduct.getVideoIds() %} {% if (iKey == 1 and oDetailsProduct.getVideo1Title()) or (iKey == 2 and oDetailsProduct.getVideo2Title()) %}

    {{ oDetailsProduct.getVideoTitle(iKey) }}

    {% endif %} {# youtube #} {% if sVideoType == "YOUTUBE" %}
    {# vimeo #} {% elseif sVideoType == "VIMEO" %}
    {% endif %} {% if not loop.last %}
    {% endif %} {% endfor %}
    {% endcapture %} {% endif %} {{ parent() }} {% endblock %} {# source of embedded responsive video code: https://www.t3premium.de/video-generator/ .. includes c4s optimizations #}