diff --git a/src/components/ItaliaTheme/Blocks/VideoGallery/Block/ViewBlock.jsx b/src/components/ItaliaTheme/Blocks/VideoGallery/Block/ViewBlock.jsx index e2ec64443..f560d2b4d 100644 --- a/src/components/ItaliaTheme/Blocks/VideoGallery/Block/ViewBlock.jsx +++ b/src/components/ItaliaTheme/Blocks/VideoGallery/Block/ViewBlock.jsx @@ -101,7 +101,9 @@ const ViewBlock = ({ }`} {...embedSettings} /> - {showVideoCaption &&

{data.title}

} + {showVideoCaption && ( +

{data.title}

+ )} ) : ( <> @@ -114,7 +116,9 @@ const ViewBlock = ({ source="youtube" {...embedSettings} /> - {showVideoCaption &&

{data.title}

} + {showVideoCaption && ( +

{data.title}

+ )} )} @@ -127,7 +131,9 @@ const ViewBlock = ({ source="vimeo" {...embedSettings} /> - {showVideoCaption &&

{data.title}

} + {showVideoCaption && ( +

{data.title}

+ )} ) : ( <> @@ -148,12 +154,16 @@ const ViewBlock = ({ controls type="video/mp4" /> - {showVideoCaption &&

{data.title}

} + {showVideoCaption && ( +

{data.title}

+ )} ) : data.allowExternals ? ( <> - {showVideoCaption &&

{data.title}

} + {showVideoCaption && ( +

{data.title}

+ )} ) : (