2022-04-10 06:10:48 -04:00
|
|
|
{layout "../layouts/{$layout}.latte"}
|
2022-01-08 10:03:57 -05:00
|
|
|
|
2022-11-26 17:51:45 -05:00
|
|
|
{var $og = $info->meta->og}
|
|
|
|
{var $og_content = $item->video->originCover}
|
|
|
|
{var $og_url = url_video_internal($info->detail->uniqueId, $item->id)}
|
|
|
|
|
2022-01-25 08:08:31 -05:00
|
|
|
{block content}
|
2022-11-18 10:48:51 -05:00
|
|
|
<div class="columns is-centered is-vcentered is-gapless">
|
|
|
|
<div class="column has-text-centered">
|
2022-09-25 13:53:00 -04:00
|
|
|
<video controls autoplay poster="{url_stream($item->video->originCover)}">
|
|
|
|
<source src="{url_stream($item->video->playAddr)}" type="video/mp4" />
|
2022-01-28 09:54:09 -05:00
|
|
|
</video>
|
2022-01-25 11:20:11 -05:00
|
|
|
</div>
|
2022-09-25 13:53:00 -04:00
|
|
|
<div class="column">
|
2022-01-25 11:20:11 -05:00
|
|
|
<div class="box">
|
2022-11-18 10:48:51 -05:00
|
|
|
<article class="media">
|
|
|
|
<figure class="media-left">
|
|
|
|
<p class="image is-64x64">
|
2022-11-26 17:51:45 -05:00
|
|
|
<img src="{url_stream($info->detail->avatarThumb)}" />
|
2022-11-18 10:48:51 -05:00
|
|
|
</p>
|
|
|
|
</figure>
|
|
|
|
<div class="media-content">
|
|
|
|
<p>
|
2022-11-26 17:51:45 -05:00
|
|
|
<strong>{$info->detail->nickname}</strong>
|
2022-11-18 10:48:51 -05:00
|
|
|
<small>
|
2022-11-26 17:51:45 -05:00
|
|
|
<a href="{url_user($info->detail->uniqueId)}">@{$info->detail->uniqueId}</a>
|
2022-11-18 10:48:51 -05:00
|
|
|
</small>
|
|
|
|
<small title="{date('M d, Y H:i:s e', $item->createTime)}">{date('M d, Y', $item->createTime)}</small>
|
|
|
|
</p>
|
|
|
|
{if !empty($item->challenges)}
|
|
|
|
<p>{include '../components/themes/common/tags.latte', challenges: $item->challenges}</p>
|
|
|
|
{/if}
|
|
|
|
<div class="content">
|
|
|
|
<p n:ifcontent>{$item->desc}</p>
|
|
|
|
{include '../components/themes/common/stats.latte', playCount: $item->stats->playCount, diggCount: $item->stats->diggCount, commentCount: $item->stats->commentCount, shareCount: $item->stats->shareCount}
|
|
|
|
<div class="has-text-centered">
|
2022-11-26 17:51:45 -05:00
|
|
|
{include '../components/themes/common/share.latte', uniqueId: $info->detail->uniqueId, id: $item->id}
|
|
|
|
{include '../components/themes/common/download.latte', playAddr: $item->video->playAddr, id: $item->id, uniqueId: $info->detail->uniqueId}
|
2022-11-18 10:48:51 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</article>
|
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}
|