Smal fixes with playlists

This commit is contained in:
Pierre Rudloff 2017-04-25 11:05:49 +02:00
parent 554dd14edd
commit 7428b334de
4 changed files with 40 additions and 6 deletions

View file

@ -2,16 +2,18 @@
<div class="wrapper">
<div class="main">
{include file="inc/logo.tpl"}
<p>Videos extracted from the<i>
<p>Videos extracted from the {if isset($video->title)}<i>
<a href="{$video->webpage_url}">
{$video->title}</a></i> playlist:
{$video->title}</a></i>{/if} playlist:
</p>
{foreach $video->entries as $video}
<div class="playlist-entry">
<img class="thumb" src="{$video->thumbnail}" alt="" width="200" />
<h3><a href="{$video->webpage_url}">{$video->title}</a></h3>
<h3><a target="_blank" href="{$video->webpage_url}">{$video->title}</a></h3>
<a target="_blank" class="downloadBtn" href="{path_for name="redirect"}?url={$video->webpage_url}">Download</a>
<a target="_blank" href="{path_for name="video"}?url={$video->webpage_url}">More options</a>
{if count($video->formats) > 1}
<a target="_blank" href="{path_for name="video"}?url={$video->webpage_url}">More options</a>
{/if}
</div>
{/foreach}