movie image @if($data['access'] == 'pay-per-view') @if(\Modules\Entertainment\Models\Entertainment::isPurchased($data['id'],'episode')) {{ __('messages.rented') }} @else {{ __('messages.rent') }} @endif @endif @php $qualityOptions = []; $videoLinks = $data['video_links']; foreach($videoLinks as $link) { $qualityOptions[$link->quality] = $link->url; } $qualityOptionsJson = json_encode($qualityOptions); $video_url_input=null; if($data['video_upload_type']=='Local'){ $video_url_input=$data['video_url_input']; }else{ $video_url_input=Crypt::encryptString($data['video_url_input']); } $subtitleInfoJson = $data['subtitle_info'] ? json_encode($data['subtitle_info']->toArray(request())) : json_encode([]) @endphp @php $isWatchButton = $data['access'] != 'pay-per-view' || \Modules\Entertainment\Models\Entertainment::isPurchased($data['id'],'episode'); @endphp {{-- @if($data['access'] != 'pay-per-view' || \Modules\Entertainment\Models\Entertainment::isPurchased($data['id'],'episode') ) --}} {{-- @endif --}}
{{ $data['name'] }}
  • E{{ $index+1 }}
  • {{ $data['duration'] ? formatDuration($data['duration']) : '--' }}
  • {{ $data['release_date'] ? formatDate($data['release_date']) : '-' }}

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

{{__('frontend.view_more_info')}}