@if($videos->count() > 0)
{{ $title }}
ALL
 
@foreach ($videos as $video) @php $videoId = $video->id_youtube; $thumbnailUrl = "https://img.youtube.com/vi/{$videoId}/hqdefault.jpg"; @endphp
YouTube Thumbnail

{{ substr($video->judul, 0, 30) }}...

@endforeach
@endif