@php $qualityOptions = []; $videoLinks = $data['video_links']; foreach($videoLinks as $link) { $qualityOptions[$link->quality] = $link->url; } $qualityOptionsJson = json_encode($qualityOptions); $subtitleInfoJson = $data['subtitle_info'] ? json_encode($data['subtitle_info']->toArray(request())) : json_encode([]); @endphp
@if($data['is_restricted']==1) {{__('frontend.age_restriction')}} @endif {{-- @if(!empty($data['genres']))
    @foreach($data['genres'] as $gener)
  • {{ $gener['name'] }}
  • @endforeach
@endif --}}
@if($data['access'] == 'pay-per-view' && !\Modules\Entertainment\Models\Entertainment::isPurchased($data['id'],'video')) @endif

{{ $data['name'] }}

{!! $data['description'] !!}

  • {{ \Carbon\Carbon::parse($data['release_date'])->format('Y') }}
  • {{--
  • {{ $data['language'] }}
  • --}}
  • {{ $data['duration'] ? formatDuration($data['duration']) : '--' }}
  • @if($data['imdb_rating'] ) {{ $data['imdb_rating'] }} (IMDb) @endif
@if($data['access'] != 'pay-per-view' || \Modules\Entertainment\Models\Entertainment::isPurchased($data['id'],'video') )
@endif {{-- @dd($data); --}}
  • @php $video_url = $data['video_url_input']; $video_upload_type = $data['video_upload_type']; $plan_type = getActionPlan('video-cast'); @endphp @if(!empty($plan_type) && ($video_upload_type == "Local" || $video_upload_type == "URL")) @php $video_url11 = ($video_upload_type == "URL") ? Crypt::decryptString($video_url) : $video_url; @endphp
  • @endif
{{-- @if($data['your_review']== null)
@endif --}}