@if(isset($sub) && !empty($sub->url)) @php $video_details = getVidDetails($sub->type, $sub->url, 1); @endphp