From e4f2c52fe900dc12b2378663002407e3a7d9310e Mon Sep 17 00:00:00 2001 From: Guillaume Cauchois Date: Tue, 10 Sep 2024 12:13:41 +0200 Subject: [PATCH] [EN-7494] feat(LP): youtube video no reco --- .../CandidateTestimoniesOrientation.tsx | 1 + .../partials/pages/Orienter/VideoSection/VideoSection.tsx | 1 + .../partials/utils/SimpleImageText/SimpleImageText.styles.tsx | 1 + .../partials/utils/SimpleImageText/SimpleVideoText.tsx | 3 ++- src/pages/entreprises/sinformer.tsx | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/partials/common/CandidateTestimoniesOrientation/CandidateTestimoniesOrientation.tsx b/src/components/partials/common/CandidateTestimoniesOrientation/CandidateTestimoniesOrientation.tsx index 1ab05ff00..128cd1d36 100644 --- a/src/components/partials/common/CandidateTestimoniesOrientation/CandidateTestimoniesOrientation.tsx +++ b/src/components/partials/common/CandidateTestimoniesOrientation/CandidateTestimoniesOrientation.tsx @@ -110,6 +110,7 @@ export const CandidateTestimoniesOrientation = ({ title="Témoignages Entourage Pro" aspectWidth={1280} aspectHeight={720} + params="rel=0&showinfo=0&iv_load_policy=3" /> )} diff --git a/src/components/partials/pages/Orienter/VideoSection/VideoSection.tsx b/src/components/partials/pages/Orienter/VideoSection/VideoSection.tsx index 4e64ddefe..e02e42922 100644 --- a/src/components/partials/pages/Orienter/VideoSection/VideoSection.tsx +++ b/src/components/partials/pages/Orienter/VideoSection/VideoSection.tsx @@ -20,6 +20,7 @@ export const VideoSection = ({ id={videoId} title={videoTitle} poster="maxresdefault" + params="rel=0&showinfo=0&iv_load_policy=3" /> ); diff --git a/src/components/partials/utils/SimpleImageText/SimpleImageText.styles.tsx b/src/components/partials/utils/SimpleImageText/SimpleImageText.styles.tsx index 4ad1677bb..ca84101d6 100644 --- a/src/components/partials/utils/SimpleImageText/SimpleImageText.styles.tsx +++ b/src/components/partials/utils/SimpleImageText/SimpleImageText.styles.tsx @@ -24,6 +24,7 @@ export const StyledSimpleImageTextBackground = styled.div` display: flex; flex-direction: ${({ reverse }) => (reverse ? 'row-reverse' : 'row')}; + align-items: center; flex-wrap: wrap; gap: 10%; min-height: 400px; diff --git a/src/components/partials/utils/SimpleImageText/SimpleVideoText.tsx b/src/components/partials/utils/SimpleImageText/SimpleVideoText.tsx index 8414e7214..4db41bbd1 100644 --- a/src/components/partials/utils/SimpleImageText/SimpleVideoText.tsx +++ b/src/components/partials/utils/SimpleImageText/SimpleVideoText.tsx @@ -48,9 +48,10 @@ export const SimpleVideoText = ({ poster="maxresdefault" title={videoTitle} aspectWidth={662} - aspectHeight={484} + aspectHeight={370} wrapperClass="yt-lite videoCustom" playerClass="lty-playbtn playBtnCustom" + params="rel=0&showinfo=0&iv_load_policy=3" /> { title="Témoignage recruteur Entourage Pro" aspectWidth={1280} aspectHeight={720} + params="rel=0&showinfo=0&iv_load_policy=3" />