{{ $video->title }}
{!! nl2br(e($video->description)) !!}
@php
if(Route::currentRouteName() == 'frontend.video.show')
{
$routeEdit = route('frontend.video.edit', $video->id);
$routeDelete = route('frontend.video.destroy', $video->id);
}
if(Route::currentRouteName() == 'frontend.product.video.show')
{
$routeEdit = route('frontend.product.video.edit', [$product->slug, $video->id]);
$routeDelete = route('frontend.product.video.destroy', [$product->slug, $video->id]);
}
@endphp
{!! nl2br(e($video->description)) !!}{{ $video->title }}
Title | {{ $video->title }} |
Rating | {{ $video->rating }} |
Comments | {{ $video->comments->where('status_id', 1)->count() }} |
Views | {{ $video->views->count() }} |
Category | {{ $video->category->name }} |
Related | @foreach($video->products->sortBy('created_at') as $product) {{ $loop->first ? '' : ', ' }}{{ $product->name }} @endforeach |
Taken | @if(!empty($video->taken_at)) {{ $video->taken_at->diffForHumans() }} @endif |
Uploaded By | {{ $video->user->name }} |
Source | {{ $video->source_name }} |
Location | {{ $video->location }} |
Uploaded | {{ $video->created_at->diffForHumans() }} |
Last Edited | {{ $video->updated_at->diffForHumans() }} |