2022-01-25 08:08:31 -05:00
|
|
|
{layout '../layouts/hero.latte'}
|
2022-01-08 10:03:57 -05:00
|
|
|
|
2022-01-25 08:08:31 -05:00
|
|
|
{block content}
|
2022-02-20 10:25:15 -05:00
|
|
|
{do $item = $feed->items[0]}
|
2022-01-25 11:20:11 -05:00
|
|
|
<div class="columns is-centered is-vcentered">
|
|
|
|
<div class="column">
|
2022-03-11 16:59:16 -05:00
|
|
|
<<<<<<< HEAD
|
2022-02-20 10:25:15 -05:00
|
|
|
<video controls poster="{path('/stream?url=' . urlencode($item->video->originCover))}">
|
|
|
|
<source src="{path('/stream?url=' . urlencode($item->video->playAddr))}" type="video/mp4" />
|
2022-03-11 16:59:16 -05:00
|
|
|
=======
|
2022-02-16 09:20:35 -05:00
|
|
|
<video controls poster="{path('/stream?url=' . urlencode($item->items[0]->video->originCover))}">
|
|
|
|
<source src="{path('/stream?url=' . urlencode($item->items[0]->video->playAddr))}" type="video/mp4" />
|
2022-03-11 16:59:16 -05:00
|
|
|
>>>>>>> master
|
2022-01-28 09:54:09 -05:00
|
|
|
</video>
|
2022-01-25 11:20:11 -05:00
|
|
|
</div>
|
|
|
|
<div class="column has-text-centered">
|
|
|
|
<div class="box">
|
2022-03-11 16:59:16 -05:00
|
|
|
<<<<<<< HEAD
|
2022-02-13 16:21:08 -05:00
|
|
|
<p class="title">Video by <a href="{path('/@'.$feed->info->detail->uniqueId)}">{$feed->info->detail->uniqueId}</a></p>
|
2022-02-20 10:25:15 -05:00
|
|
|
<p class="subtitle">{$item->desc}</p>
|
2022-02-13 16:21:08 -05:00
|
|
|
<p>Played {number($feed->info->stats->playCount)} times</p>
|
|
|
|
<p>Shared {number($feed->info->stats->shareCount)} times / {number($feed->info->stats->commentCount)} comments</p>
|
2022-01-25 11:20:11 -05:00
|
|
|
<hr />
|
2022-03-11 12:56:19 -05:00
|
|
|
<div class="dropdown is-hoverable">
|
|
|
|
<div class="dropdown-trigger">
|
|
|
|
<button class="button" aria-haspopup="true" aria-controls="dropdown-menu">Download</button>
|
|
|
|
</div>
|
|
|
|
<div class="dropdown-menu" role="menu">
|
|
|
|
<div class="dropdown-content">
|
|
|
|
<a href="{path('/download?url=' . urlencode($item->video->playAddr) . '&id=' . $item->id . '&user=' . $item->author->uniqueId) . '&watermark='}" class="dropdown-item">Watermark</a>
|
|
|
|
<a href="{path('/download?id=' . $item->id . '&user=' . $feed->info->detail->uniqueId)}" class="dropdown-item">No watermark</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-02-20 10:25:15 -05:00
|
|
|
</div>
|
|
|
|
<p>{$item->music->title}</p>
|
|
|
|
<audio src="{path('/stream?url=' . urlencode($item->music->playUrl))}" controls preload="none"></audio>
|
2022-03-11 16:59:16 -05:00
|
|
|
=======
|
2022-02-16 09:20:35 -05:00
|
|
|
<p class="title">Video by <a href="{path('/@'.$item->info->detail->user->uniqueId)}">{$item->info->detail->user->uniqueId}</a></p>
|
|
|
|
<p class="subtitle">{$item->items[0]->desc}</p>
|
|
|
|
<p>Played {number($item->info->detail->stats->playCount)} times</p>
|
|
|
|
<p>Shared {number($item->info->detail->stats->shareCount)} times / {number($item->info->detail->stats->commentCount)} comments</p>
|
2022-01-25 11:20:11 -05:00
|
|
|
<hr />
|
2022-02-16 09:20:35 -05:00
|
|
|
<a href="{path('/stream?url=' . urlencode($item->items[0]->video->playAddr) . '&download=1')}" class="button is-info">Download video</a>
|
|
|
|
<p>{$item->items[0]->music->title}</p>
|
|
|
|
<audio src="{path('/stream?url=' . urlencode($item->items[0]->music->playUrl))}" controls preload="none"></audio>
|
2022-03-11 16:59:16 -05:00
|
|
|
>>>>>>> master
|
2022-01-25 11:20:11 -05:00
|
|
|
</div>
|
2022-01-08 10:03:57 -05:00
|
|
|
</div>
|
2022-01-25 08:08:31 -05:00
|
|
|
</div>
|
|
|
|
{/block}
|