Correct download name

This commit is contained in:
Pierre Rudloff 2015-06-28 18:53:19 +02:00
parent 641f107b37
commit 90e2475103
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ value="{$video->webpage_url}" />
{foreach $video->formats as $format}
<li itemprop="encoding"
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}">
<span itemprop="videoQuality">{$format->format}</span> (<span itemprop="encodingFormat">{$format->ext}</span>)
</a></li>