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-29 13:30:31 -04:00
|
|
|
<video width="{$item->video->width}" height="{$item->video->height}" controls poster="{path('/stream?url=' . urlencode($item->video->originCover))}">
|
2022-02-20 10:25:15 -05:00
|
|
|
<source src="{path('/stream?url=' . urlencode($item->video->playAddr))}" type="video/mp4" />
|
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-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-03-29 13:30:31 -04:00
|
|
|
{include '../components/themes/common/stats.latte', playCount: $item->stats->playCount, diggCount: $item->stats->diggCount, commentCount: $item->stats->commentCount, shareCount: $item->stats->shareCount}
|
2022-01-25 11:20:11 -05:00
|
|
|
<hr />
|
2022-03-29 13:30:31 -04:00
|
|
|
{include '../components/themes/common/share.latte', uniqueId: $feed->info->detail->uniqueId, id: $item->id}
|
|
|
|
{include '../components/themes/common/download.latte', playAddr: $item->video->playAddr, id: $item->id, uniqueId: $feed->info->detail->uniqueId}
|
2022-02-20 10:25:15 -05:00
|
|
|
<p>{$item->music->title}</p>
|
|
|
|
<audio src="{path('/stream?url=' . urlencode($item->music->playUrl))}" controls preload="none"></audio>
|
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}
|