Correct download name
This commit is contained in:
parent
641f107b37
commit
90e2475103
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ value="{$video->webpage_url}" />
|
||||||
{foreach $video->formats as $format}
|
{foreach $video->formats as $format}
|
||||||
<li itemprop="encoding"
|
<li itemprop="encoding"
|
||||||
itemscope itemtype="http://schema.org/VideoObject">
|
itemscope itemtype="http://schema.org/VideoObject">
|
||||||
<a download="{$video->ext|replace:$format->ext:$video->_filename}" itemprop="contentUrl"
|
<a download="{$video->_filename|replace:$video->ext:$format->ext}" itemprop="contentUrl"
|
||||||
href="{$format->url|escape}">
|
href="{$format->url|escape}">
|
||||||
<span itemprop="videoQuality">{$format->format}</span> (<span itemprop="encodingFormat">{$format->ext}</span>)
|
<span itemprop="videoQuality">{$format->format}</span> (<span itemprop="encodingFormat">{$format->ext}</span>)
|
||||||
</a></li>
|
</a></li>
|
||||||
|
|
Loading…
Reference in a new issue