{extends file='page.tpl'} {block name='main'}
{include file="inc/logo.tpl"} {include file='snippets/title.tpl' assign=title}

{t params=['@title' => $title]}You are going to download @title.{/t}

{if isset($video->thumbnail)} {html_image file=$video->thumbnail itemprop="thumbnailUrl" class="thumb"} {/if} {if isset($video->description)} {/if} {if isset($video->upload_date)} {/if}
{if $config->uglyUrls} {/if} {if isset($video->formats) && count($video->formats) > 1}

{* To make the default generic formats translatable: {t}Best{/t} {t}Remux best video with best audio{/t} {t}Worst{/t} *} {html_options name='format' options=$formats selected=$defaultFormat id="format" class="formats monospace"}

{/if} {if $config->stream} stream !== 'ask'}checked{/if} name="stream" id="stream"/>

{/if} {if $config->convertAdvanced} {html_options name='customFormat' values=$config->convertAdvancedFormats output=$config->convertAdvancedFormats title="{t}Custom format{/t}" name="customFormat" aria-label="{t}Format to convert to{/t}"} {t}with{/t} {t}kbit/s audio{/t}

{/if}
{/block}