Merge branch 'main' of http://bibgit.com/Subash/landing-page
This commit is contained in:
@ -898,20 +898,37 @@
|
|||||||
Trusted by Many — Testimonials
|
Trusted by Many — Testimonials
|
||||||
</h2>
|
</h2>
|
||||||
<div class="row g-3">
|
<div class="row g-3">
|
||||||
@foreach ($videos as $video)
|
@if ($videos)
|
||||||
@php
|
@foreach ($videos as $video)
|
||||||
$videoId = $video['id']['videoId'];
|
@php
|
||||||
$embedUrl = "https://www.youtube.com/embed/{$videoId}";
|
$videoId = $video['id']['videoId'];
|
||||||
@endphp
|
$embedUrl = "https://www.youtube.com/embed/{$videoId}";
|
||||||
<div class="col-xl-3 col-lg-4 col-md-6 col-12">
|
@endphp
|
||||||
<div class="visa-post">
|
<div class="col-xl-3 col-lg-4 col-md-6 col-12">
|
||||||
<iframe width="100%" height="350" src="{{ $embedUrl }}" title="YouTube video"
|
<div class="visa-post">
|
||||||
frameborder="0"
|
<iframe width="100%" height="350" src="{{ $embedUrl }}" title="YouTube video"
|
||||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
frameborder="0"
|
||||||
referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||||
|
referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
||||||
|
</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>
|
||||||
|
Reference in New Issue
Block a user