templates/front/partials/video-overlay.html.twig line 1

Open in your IDE?
  1. <div {% if type != 'youtube' %}js-video-player-overlay{% endif %} js-portrait-video-modal-overflay
  2.      class="video__overlay flex lazyload" {% if poster is defined and poster is not null %}data-bg="{{ cloudinary_media(poster, 'w_1216,f_auto,q_auto') }}"{% endif %}>
  3.     <div class="absolute left-0 bottom-2 lg:bottom-6 flex flex-nowrap items-center w-full">
  4.         <button class="relative lty-playbtn video__play flex items-center justify-end shrink-0 mr-2 lg:mr-6">
  5.             <span class="sr-only">Play video</span>
  6.             <svg width="30" height="30" class="icon mr-7">
  7.                 <use href="#icon-play" xlink:href="#icon-play"/>
  8.             </svg>
  9.         </button>
  10.         <div class="lg:w-1/2">
  11.             <h3 class="title title--M text-white pr-2">
  12.                 {% if title is defined and title is not null %}
  13.                     {{ title }}
  14.                 {% endif %}
  15.             </h3>
  16.             {% if description is defined and description is not null %}
  17.                 <div class="description paragraph--S text-white mt-4 pr-2">{{ description|raw }}</div>
  18.             {% endif %}
  19.         </div>
  20.     </div>
  21. </div>