{% if not isMobile %}
{% set contents = block.content | json_decode %}
<section class="video-holder d-none" data-aos="fade-up">
<button class="btn video-close d-none"><i class="zmdi zmdi-close"></i> THOÁT</button>
<video id="video-player" id="video-player" autoplay muted>
{% for content in contents %}
{% if content.videoFile is empty %}
<source src="{{ content.videoUrl }}" type="video/mp4"/>
{% elseif content.videoUrl is empty %}
<source src="{{ asset( content.videoFile is empty ? 'themes/ismart/img/homepage.webm': content.videoFile) }}" type="video/{{ (content.videoFile | split('.')) | last }}"/>
{% endif %}
{% endfor %}
</video>
</section>
<section class="youtube-video-holder d-none">
<button class="btn youtube-close"><i class="zmdi zmdi-close"></i> THOÁT</button>
<div class="ratio ratio-16x9">
<video class="d-none" id="video-hero-banner" autoplay muted webkit-playsinline playsinline controls></video>
<iframe class="d-none" src="" title="YouTube video" allowfullscreen></iframe>
</div>
</section>
{% endif %}