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

{{$video_details->title}}

--}}
@elseif($sub->type === 'other')
@endif