diff --git a/resources/views/fo/modules/video-frame.blade.php b/resources/views/fo/modules/video-frame.blade.php index bc5fba6..b593b30 100644 --- a/resources/views/fo/modules/video-frame.blade.php +++ b/resources/views/fo/modules/video-frame.blade.php @@ -1,8 +1,9 @@ @php $uniqueID = uniqid(); @endphp - + - {{ $alt }} - - + {{ $alt }} + + + diff --git a/resources/views/fo/pages/hire.blade.php b/resources/views/fo/pages/hire.blade.php index 20dc77b..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 4a1118f..59a45eb 100644 --- a/resources/views/fo/pages/home.blade.php +++ b/resources/views/fo/pages/home.blade.php @@ -68,12 +68,12 @@
@endif
-
+
@include('fo.modules.video-frame', [ '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, ]) diff --git a/resources/views/fo/pages/listen.blade.php b/resources/views/fo/pages/listen.blade.php index 450ba48..e1e0cd6 100644 --- a/resources/views/fo/pages/listen.blade.php +++ b/resources/views/fo/pages/listen.blade.php @@ -17,18 +17,18 @@ @section('content')
-
+
-
+
{{--

{{ $staticPageModel->title }}

--}}
- {{ __('Je suis candidat') }} @@ -55,7 +55,7 @@ {{ __('Acceptez ce cookie pour utiliser les formulaires') }} - +
@@ -99,7 +99,7 @@
{{ $message }}
@endforeach -
+
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";