Skip to content

Commit da9d6c4

Browse files
committed
Reinstate poster image logic
1 parent ef34753 commit da9d6c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dotcom-rendering/src/components/SelfHostedVideo.island.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ export const SelfHostedVideo = ({
616616
*/
617617
useEffect(() => {
618618
if (
619-
!shouldAutoplay ||
619+
shouldAutoplay === false ||
620620
(isInView === false && playerState === 'NOT_STARTED')
621621
) {
622622
setShowPosterImage(true);

0 commit comments

Comments
 (0)