@extends($layout) @section('content')
@hasanyrole('admin')   Go back @endhasanyrole @hasanyrole('dio')   Go back @endhasanyrole @hasrole('Stringer')   Go back @endhasrole @hasrole('Media Person')   Go back @endhasrole
@unlessrole('Media Person')
@if ($video->status === 1) Approved @elseif ($video->status === 0) Pending for Approval @endif
@hasanyrole('dio|admin') @if ($video->status === 0)
@csrf
@endif @endhasanyrole
@endunlessrole @if (session('success')) @endif @hasanyrole('admin|dio')
  Download {{$formattedSize}}
0%
@endhasanyrole @hasrole('Media Person')
{{$formattedSize}}   Download
0%
@endhasrole

{{ $video->title }}

{{ $video->description }}

Uploaded on: {{ $video->uploaded_on }}

@unless(auth()->user()->hasRole('Media Person'))

{{ number_format($video->views) }} views

@if ($video->tags->isNotEmpty())

Tags:

@foreach ($video->tags as $tag) {{ $tag->name }} @endforeach
@endif @endunless @if ($video->participants->isNotEmpty())

Participants:

@foreach ($video->participants as $participant) {{ $participant->name }} @endforeach
@endif

Associated Images

@if ($associatedImages->isEmpty())

No associated images available.

@else @foreach ($associatedImages as $image) @endforeach @endif
@endsection