This commit is contained in:
2025-07-10 18:28:00 +05:45
2 changed files with 31 additions and 14 deletions

View File

@ -898,6 +898,7 @@
Trusted by Many Testimonials Trusted by Many Testimonials
</h2> </h2>
<div class="row g-3"> <div class="row g-3">
@if ($videos)
@foreach ($videos as $video) @foreach ($videos as $video)
@php @php
$videoId = $video['id']['videoId']; $videoId = $video['id']['videoId'];
@ -912,6 +913,22 @@
</div> </div>
</div> </div>
@endforeach @endforeach
@else
@php
$other_videos = [
'<iframe width="560" height="315" src="https://www.youtube.com/embed/b51bEcaWsj8?si=c0fP_tuGge1EidxM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>',
'<iframe width="560" height="315" src="https://www.youtube.com/embed/AaJuKvdom7c?si=4J696jmGI-_lhnAR" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>,',
'<iframe width="560" height="315" src="https://www.youtube.com/embed/b51bEcaWsj8?si=c0fP_tuGge1EidxM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>,',
];
@endphp
@foreach ($other_videos as $video)
<div class="col-xl-3 col-lg-4 col-md-6 col-12">
<div class="visa-post">
{!! $video !!}
</div>
</div>
@endforeach
@endif
</div> </div>
</div> </div>
</section> </section>