公開設定 {{ $res['detail']->privacy->label }}
カテゴリ @if (is_null($res['detail']->category->id)) {{ $res['detail']->category->label }} @else {{ $res['detail']->category->label }} @endif
@if (!is_null($res['detail']->originallyPublishedAt))
投稿日 {{ date('Y年m月d日', strtotime($res['detail']->originallyPublishedAt)) }}
@endif
ライセンス {{ $res['detail']->licence->label }}
言語 @if (is_null($res['detail']->language->id)) {{ $res['detail']->language->label }} @else {{ $res['detail']->language->label }} @endif
タグ @if (count($res['detail']->tags) > 0) @foreach ($res['detail']->tags as $k => $v) {{ $v }}{{ count($res['detail']->tags)-1 != $k ? ', ' : '' }} @endforeach @endif
再生時間 @php $seconds = $res['detail']->duration; $hours = floor($seconds / 3600); $seconds -= $hours * 3600; $minutes = floor($seconds / 60); $seconds -= $minutes * 60; @endphp {{ $hours != 0 ? $hours.'時' : '' }}{{ $minutes != 0 ? $minutes.'分' : '' }}{{ $seconds.'秒' }}