From c1c355e80cd64620ecc951ab3096f1d6d526ba37 Mon Sep 17 00:00:00 2001 From: Nicolas Demangeat Date: Thu, 25 Jul 2024 15:55:00 +0200 Subject: [PATCH 1/7] fix: video display in home and hire for mobile --- resources/views/fo/pages/hire.blade.php | 2 +- resources/views/fo/pages/home.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/fo/pages/hire.blade.php b/resources/views/fo/pages/hire.blade.php index 20dc77b..ed0f222 100644 --- a/resources/views/fo/pages/hire.blade.php +++ b/resources/views/fo/pages/hire.blade.php @@ -70,7 +70,7 @@ @foreach ($videoModels as $video)
-
+
@include('fo.modules.video-frame', [ 'type' => 'youtube', 'title' => __('Visionner la vidéo'), diff --git a/resources/views/fo/pages/home.blade.php b/resources/views/fo/pages/home.blade.php index 4a1118f..e844623 100644 --- a/resources/views/fo/pages/home.blade.php +++ b/resources/views/fo/pages/home.blade.php @@ -68,7 +68,7 @@
@endif
-
+
@include('fo.modules.video-frame', [ 'type' => 'youtube', 'title' => __('Visionner la vidéo'), From ff27b8720399ae34d7631c0fbc83b2f31089f435 Mon Sep 17 00:00:00 2001 From: Nicolas Demangeat Date: Thu, 25 Jul 2024 16:12:52 +0200 Subject: [PATCH 2/7] fix: Uppercase for button listen page --- resources/views/fo/pages/listen.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/fo/pages/listen.blade.php b/resources/views/fo/pages/listen.blade.php index 450ba48..f7d034d 100644 --- a/resources/views/fo/pages/listen.blade.php +++ b/resources/views/fo/pages/listen.blade.php @@ -28,7 +28,7 @@

{{ $staticPageModel->title }}

--}}
- {{ __('Je suis candidat') }} From f48e658f6b90aa351013257ea1bb41178689f46f Mon Sep 17 00:00:00 2001 From: Nicolas Demangeat Date: Thu, 25 Jul 2024 16:14:51 +0200 Subject: [PATCH 3/7] fix: popup recaptcha button size --- resources/views/fo/pages/listen.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/fo/pages/listen.blade.php b/resources/views/fo/pages/listen.blade.php index f7d034d..1089bfc 100644 --- a/resources/views/fo/pages/listen.blade.php +++ b/resources/views/fo/pages/listen.blade.php @@ -55,7 +55,7 @@ {{ __('Acceptez ce cookie pour utiliser les formulaires') }} - +
From 6b6f5f40fc6317405d6e1388b62bb570fa6f18e6 Mon Sep 17 00:00:00 2001 From: Nicolas Demangeat Date: Thu, 25 Jul 2024 16:22:17 +0200 Subject: [PATCH 4/7] fix: somes fix --- resources/views/fo/pages/listen.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/fo/pages/listen.blade.php b/resources/views/fo/pages/listen.blade.php index 1089bfc..e1e0cd6 100644 --- a/resources/views/fo/pages/listen.blade.php +++ b/resources/views/fo/pages/listen.blade.php @@ -17,13 +17,13 @@ @section('content')
-
+
-
+
{{--

{{ $staticPageModel->title }}

--}} @@ -99,7 +99,7 @@
{{ $message }}
@endforeach -
+
From 57378b1a170acfe00d5552515757b06c8dc66780 Mon Sep 17 00:00:00 2001 From: Nicolas Demangeat Date: Thu, 25 Jul 2024 16:32:33 +0200 Subject: [PATCH 5/7] fix: modul video-frame with cooki notice --- resources/views/fo/modules/video-frame.blade.php | 2 +- resources/views/fo/pages/hire.blade.php | 2 +- resources/views/fo/pages/home.blade.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/fo/modules/video-frame.blade.php b/resources/views/fo/modules/video-frame.blade.php index bc5fba6..a010f0b 100644 --- a/resources/views/fo/modules/video-frame.blade.php +++ b/resources/views/fo/modules/video-frame.blade.php @@ -1,5 +1,5 @@ @php $uniqueID = uniqid(); @endphp - {{ $alt }} diff --git a/resources/views/fo/pages/hire.blade.php b/resources/views/fo/pages/hire.blade.php index ed0f222..e067a63 100644 --- a/resources/views/fo/pages/hire.blade.php +++ b/resources/views/fo/pages/hire.blade.php @@ -70,7 +70,7 @@ @foreach ($videoModels as $video)
-
+
@include('fo.modules.video-frame', [ 'type' => 'youtube', 'title' => __('Visionner la vidéo'), diff --git a/resources/views/fo/pages/home.blade.php b/resources/views/fo/pages/home.blade.php index e844623..4db618c 100644 --- a/resources/views/fo/pages/home.blade.php +++ b/resources/views/fo/pages/home.blade.php @@ -68,7 +68,7 @@
@endif
-
+
@include('fo.modules.video-frame', [ 'type' => 'youtube', 'title' => __('Visionner la vidéo'), From e7035b8b40557c94125487f998a749a65d106b35 Mon Sep 17 00:00:00 2001 From: Nicolas Demangeat Date: Thu, 25 Jul 2024 17:09:41 +0200 Subject: [PATCH 6/7] fix: home blade and video-frame --- resources/views/fo/modules/video-frame.blade.php | 5 ++--- resources/views/fo/pages/home.blade.php | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/resources/views/fo/modules/video-frame.blade.php b/resources/views/fo/modules/video-frame.blade.php index a010f0b..e400c59 100644 --- a/resources/views/fo/modules/video-frame.blade.php +++ b/resources/views/fo/modules/video-frame.blade.php @@ -1,8 +1,7 @@ @php $uniqueID = uniqid(); @endphp - {{ $alt }} - + diff --git a/resources/views/fo/pages/home.blade.php b/resources/views/fo/pages/home.blade.php index 4db618c..59a45eb 100644 --- a/resources/views/fo/pages/home.blade.php +++ b/resources/views/fo/pages/home.blade.php @@ -73,7 +73,7 @@ 'type' => 'youtube', 'title' => __('Visionner la vidéo'), 'videoId' => $missionSection->data['bloc_string_i_d_de_la_video_youtube']['value'], - 'picture' => $missionSection->data['bloc_illustration_de_la_video']['value'], + 'picture' => asset($missionSection->data['bloc_illustration_de_la_video']['value']), 'alt' => __('Video_about_who_we_are'), 'linkNewTab' => $missionSection->data['bloc_link_new_tab']['value'] ? true : false, ]) From ef0501ba6e2cfdfacc68dab8f64c8031ddf6c749 Mon Sep 17 00:00:00 2001 From: Nicolas Demangeat Date: Thu, 25 Jul 2024 17:28:03 +0200 Subject: [PATCH 7/7] 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";