diff --git a/code/lib/blocks/src/components/IFrame.tsx b/code/lib/blocks/src/components/IFrame.tsx index 6c0bf97dea4..be3460cb7f7 100644 --- a/code/lib/blocks/src/components/IFrame.tsx +++ b/code/lib/blocks/src/components/IFrame.tsx @@ -53,7 +53,7 @@ export class IFrame extends Component { id={id} title={title} src={src} - allowFullScreen={allowFullScreen} + {...(allowFullScreen ? { allow: 'fullscreen' } : {})} loading="lazy" {...rest} />