@extends('layouts.app') @section('meta_title', $video->title.' - '.config('app.name')) @section('meta_description', \Illuminate\Support\Str::limit(strip_tags((string) $video->description), 155)) @section('canonical', route('video.show', $video->slug)) @section('og_image', $video->thumbnail ?: asset('default-thumbnail.jpg')) @push('head') @endpush @section('content')

{{ $video->title }}

@if($video->video_type === 'self') @else
{!! $video->embed_code ?: $video->video_url !!}
@endif

{{ $video->description }}

@if($video->category)

Kategori: {{ $video->category->name }}

@endif

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

Related Videos

@foreach($relatedVideos as $related)
{{ $related->title }}
@endforeach
@endsection