From ef0501ba6e2cfdfacc68dab8f64c8031ddf6c749 Mon Sep 17 00:00:00 2001 From: Nicolas Demangeat Date: Thu, 25 Jul 2024 17:28:03 +0200 Subject: [PATCH] fix: wip video homepage and hirepage todo --- resources/views/fo/modules/video-frame.blade.php | 10 ++++++---- resources/views/vendor/cn-cookies.blade.php | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/resources/views/fo/modules/video-frame.blade.php b/resources/views/fo/modules/video-frame.blade.php index e400c59..b593b30 100644 --- a/resources/views/fo/modules/video-frame.blade.php +++ b/resources/views/fo/modules/video-frame.blade.php @@ -1,7 +1,9 @@ @php $uniqueID = uniqid(); @endphp - + - {{ $alt }} - - + {{ $alt }} + + + diff --git a/resources/views/vendor/cn-cookies.blade.php b/resources/views/vendor/cn-cookies.blade.php index 2b4fa50..fcc5a79 100644 --- a/resources/views/vendor/cn-cookies.blade.php +++ b/resources/views/vendor/cn-cookies.blade.php @@ -76,7 +76,7 @@ function () { for (let item of youtubeVids) { let id = item.dataset.id; let e = document.createElement('iframe'); - e.src = "https://www.youtube.com/embed/" + id; + e.src = "https://www.youtube.com/embed/" + id + '?autoplay=1'; e.width = "640"; e.height = "360"; e.frameBorder = "0";