29 lines
1 KiB
Smarty
29 lines
1 KiB
Smarty
{include file="inc/head.tpl"}
|
|
<div class="wrapper">
|
|
<div class="main">
|
|
{include file="inc/logo.tpl"}
|
|
<p>Videos extracted from the {if isset($video->title)}<i>
|
|
<a href="{$video->webpage_url}">
|
|
{$video->title}</a></i>{/if} playlist:
|
|
</p>
|
|
{foreach $video->entries as $video}
|
|
<div class="playlist-entry">
|
|
<h3><a target="_blank" href="{strip}
|
|
{if isset($video->ie_key) and $video->ie_key == Youtube and !filter_var($video->url, FILTER_VALIDATE_URL)}
|
|
https://www.youtube.com/watch?v=
|
|
{/if}
|
|
{$video->url}
|
|
{/strip}">
|
|
{if !isset($video->title) and $video->ie_key == YoutubePlaylist}
|
|
Playlist
|
|
{else}
|
|
{$video->title}
|
|
{/if}
|
|
</a></h3>
|
|
<a target="_blank" class="downloadBtn" href="{path_for name="redirect"}?url={$video->url}">Download</a>
|
|
<a target="_blank" href="{path_for name="video"}?url={$video->url}">More options</a>
|
|
</div>
|
|
{/foreach}
|
|
|
|
</div>
|
|
{include file="inc/footer.tpl"}
|