@forelse($galleryVideos as $galleryVideo)
@php
$url = $galleryVideo->youtube_link; // database এ রাখা link
preg_match('/(?:v=|\.be\/|shorts\/)([a-zA-Z0-9_-]+)/', $url, $matches);
$videoId = $matches[1] ?? null;
@endphp
@if($videoId)
@else
Invalid YouTube link
@endif
{{$galleryVideo->title}}
{{ \Illuminate\Support\Str::limit($galleryVideo->description, 100, '...') }}
No active gallery videos available at this time.