公開設定
{{ $res['detail']->privacy->label }}
@if (!is_null($res['detail']->originallyPublishedAt))
投稿日
{{ date('Y年m月d日', strtotime($res['detail']->originallyPublishedAt)) }}
@endif
ライセンス
{{ $res['detail']->licence->label }}
再生時間
@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.'秒' }}