diff --git a/packages/sdk-components-react/src/vimeo.template.tsx b/packages/sdk-components-react/src/vimeo.template.tsx index b52428eb0cec..0398a626ca42 100644 --- a/packages/sdk-components-react/src/vimeo.template.tsx +++ b/packages/sdk-components-react/src/vimeo.template.tsx @@ -18,7 +18,7 @@ export const meta: TemplateMeta = { ws:style={css` position: absolute; object-fit: cover; - object-position: cover; + object-position: center; width: 100%; height: 100%; border-radius: 20px; diff --git a/packages/sdk-components-react/src/youtube.template.tsx b/packages/sdk-components-react/src/youtube.template.tsx index 382eb672564a..2bd1ec55e10b 100644 --- a/packages/sdk-components-react/src/youtube.template.tsx +++ b/packages/sdk-components-react/src/youtube.template.tsx @@ -21,12 +21,12 @@ export const meta: TemplateMeta = { ws:style={css` position: absolute; object-fit: cover; - object-position: cover; + object-position: center; width: 100%; height: 100%; border-radius: 20px; `} - alt="Vimeo video preview image" + alt="YouTube video preview image" sizes="100vw" optimize={true} />