@extends('frontend::layouts.master', ['entertainment' => $entertainment])
@section('title')
{{ $data['data']['name'] ?? '' }}
@endsection
@section('content')
@php
$data = $data['data'];
@endphp
@if ($continue_watch === true)
@include('frontend::components.section.thumbnail', [
'data' => $data['video_url_input'],
'type' => $data['video_upload_type'],
'thumbnail_image' => $data['poster_image'],
'subtitle_info' => $data['subtitle_info'],
'dataAccess' => $data['access'],
'continue_watch' => true,
'watched_time' => $data['watched_time'],
'content_type' => 'tvshow',
'content_id' => $data['id'],
'video_type' => $data['video_upload_type'],
'content_video_type' => 'video',
])
@else
@include('frontend::components.section.thumbnail', [
'data' => $data['trailer_url'],
'type' => $data['trailer_url_type'],
'thumbnail_image' => $data['poster_image'],
'subtitle_info' => $data['subtitle_info'],
'dataAccess' => $data['access'],
'continue_watch' => false,
'content_type' => 'tvshow',
'content_id' => $data['id'],
'video_type' => $data['video_upload_type'],
'content_video_type' => 'trailer',
])
@endif
@include('frontend::components.section.episode_data', [
'data' => $data,
'subtitle_info' => $data['subtitle_info'],
])
@include('frontend::components.section.episodes', [
'data' => $data['tvShowLinks'],
'selectedSeasonId' => $data['season_id'] ?? null,
])
@include('frontend::components.section.custom_ad_banner', [
'placement' => 'tvshow_detail',
'content_id' => $data['id'] ?? '',
'content_type' => 'tvshow',
'category_id' => $data['category_id'] ?? '',
])
@if ($data['more_items'] != null && count($data['more_items']) > 0)
@include('frontend::components.section.entertainment', [
'data' => $data['more_items']->toArray(request()),
'title' => __('frontend.more_like_this'),
'type' => 'tvshow',
'slug' => '',
])
@endif
{{ __('frontend.device_not_support') }}
{{ __('frontend.purchase_episode') }}
@endsection