<IFrame>
The <IFrame /> can be used like the regular <iframe> HTML tag.
Remotion automatically wraps the <iframe> in a delayRender() call
and ensures that the iframe is loaded before rendering the frame.
Ideally, the website should not have any animations, since only animations using useCurrentFrame() are supported by Remotion. See Flickering for an explanation.
Example
tsximport {IFrame } from "remotion";export constMyComp :React .FC = () => {return <IFrame src ="https://remotion.dev" />;};
tsximport {IFrame } from "remotion";export constMyComp :React .FC = () => {return <IFrame src ="https://remotion.dev" />;};
Props
src
The URL to load.
delayRenderTimeoutInMillisecondsv4.0.140
Customize the timeout of the delayRender() call that this component makes.
delayRenderRetriesv4.0.140
Customize the number of retries of the delayRender() call that this component makes.
Prefer the maxRetries prop over this.