We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 292b323 commit 8dc0f82Copy full SHA for 8dc0f82
src/components/VideoBlock/VideoBlock.tsx
@@ -101,7 +101,7 @@ const VideoBlock = (props: VideoBlockProps) => {
101
src && isPlaying
102
? `${src}?${getPageSearchParams({
103
...(attributes || {}),
104
- ...(autoplay ? AUTOPLAY_ATTRIBUTES : NO_AUTOPLAY_ATTRIBUTES),
+ ...(previewImg || autoplay ? AUTOPLAY_ATTRIBUTES : NO_AUTOPLAY_ATTRIBUTES),
105
})}`
106
: undefined;
107
0 commit comments