2022-02-12 02:24:37 +09:00
|
|
|
<div class="{{ $res['page'] == 'search' ? 'entry video' : ($res['page'] == 'account' ? 'videos' : 'video-wrapper') }}">
|
2022-02-05 14:05:00 +09:00
|
|
|
<my-video-miniature>
|
2022-02-11 22:08:29 +09:00
|
|
|
<div class="video-miniature{{ $res['page'] == 'search' ? ' display-as-row' : '' }}">
|
2022-02-05 14:05:00 +09:00
|
|
|
<my-video-thumbnail>
|
2022-02-11 22:08:29 +09:00
|
|
|
<a class="video-thumbnail" href="/w/{{ $v->shortUUID }}">
|
|
|
|
<img alt="" aria-label="{{ $v->name }}" src="{{ env('PEER_URI') }}{{ $v->thumbnailPath }}">
|
|
|
|
<div class="video-thumbnail-label-overlay warning"></div>
|
|
|
|
<div class="video-thumbnail-label-overlay danger"></div>
|
|
|
|
<div class="video-thumbnail-duration-overlay">{{ ptDuration($v->duration) }}</div>
|
|
|
|
<div class="play-overlay">
|
2022-02-05 14:05:00 +09:00
|
|
|
<div class="icon"></div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</my-video-thumbnail>
|
|
|
|
<div class="video-bottom">
|
|
|
|
<div class="video-miniature-information">
|
|
|
|
<div class="d-flex video-miniature-meta">
|
|
|
|
<div class="w-100 d-flex flex-column">
|
|
|
|
<my-link tabindex="-1" class="video-miniature-name" style="max-height: 3em;">
|
2022-02-11 22:08:29 +09:00
|
|
|
<a tabindex="-1" title="{{ $v->name }}" href="/w/{{ $v->shortUUID }}"> {{ $v->name }} </a>
|
2022-02-05 14:05:00 +09:00
|
|
|
</my-link>
|
|
|
|
<span class="video-miniature-created-at-views">
|
2022-02-11 22:08:29 +09:00
|
|
|
<my-date-toggle>
|
|
|
|
<span class="date-toggle" title="{{ date('Y/m/d', strtotime($v->publishedAt)) }}"> {{ date('Y年m月d日 H:i:s T', strtotime($v->publishedAt)) }} </span>
|
2022-02-05 14:05:00 +09:00
|
|
|
</my-date-toggle>
|
|
|
|
<span class="views" title=""> •
|
2022-02-11 22:08:29 +09:00
|
|
|
<my-video-views-counter>
|
2022-02-05 14:05:00 +09:00
|
|
|
<span title=""> {{ $v->views }} 回視聴 </span>
|
|
|
|
</my-video-views-counter>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
@if ($res['page'] != 'channel')
|
2022-02-11 22:08:29 +09:00
|
|
|
<a tabindex="-1" class="video-miniature-channel" href="/c/{{ ptFullHandle($v->channel) }}"> {{ $v->channel->displayName }} </a>
|
2022-02-05 14:05:00 +09:00
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</my-video-miniature>
|
|
|
|
</div>
|