<% var height = 600 %>
<% if(is_hero) height = 650 %>
<div class="video-frame container-fluid" style="background-color: black; height: <%= height %>px; padding: 0px;">
    <% if(is_video_provider(url, 'youtube')) { %>
        <iframe class="video-player" src="<%- youtube_embed_link(url) %>" width="560" height="315" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    <% } else if(is_video_provider(url, 'vimeo')) { %>
        <iframe class="video-player" src="<%- vimeo_embed_link(url) %>" width="640" height="360" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
    <% } %>
</div>