{extends file="widgets/base/widget.tpl"}

{strip}
    {block name="et-widget-container-inner"}
        {block name="et-video-headline"}
            <div class="et-video-headline">
                {include file="widgets/base/textfield.tpl" value=$et_Video.headline asRow=true type="h2" classes="et-widget-headline"}
            </div>
        {/block}

        {block name="et-video-wrapper"}
            <div class="row et-video-wrapper">
                {block name="et-video-embed"}
                    <div class="et-video-embed col col-12">
                        {include file="widgets/base/video.tpl" video=$et_Video.video maxWidth=$et_Video.maxWidth}
                    </div>
                {/block}
            </div>
        {/block}
    {/block}
{/strip}