diff --git a/dotcom-rendering/src/components/YoutubeBlockComponent.importable.tsx b/dotcom-rendering/src/components/YoutubeBlockComponent.importable.tsx index b006f7b514d..0a82fa8a4c0 100644 --- a/dotcom-rendering/src/components/YoutubeBlockComponent.importable.tsx +++ b/dotcom-rendering/src/components/YoutubeBlockComponent.importable.tsx @@ -80,7 +80,7 @@ export const YoutubeBlockComponent = ({ format, hideCaption, overrideImage, - posterImage, + posterImage = [], expired, role, isMainMedia, @@ -202,7 +202,7 @@ export const YoutubeBlockComponent = ({ : undefined } posterImage={ - posterImage + posterImage.length > 0 ? [ { srcSet: posterImage.map((img) => ({