Scenes
Media Frame
Safe framed image or video scene.
SceneblocksAdvanced
Install
npx remotion-ui@latest add media-frameFrame screenshots, images, or videos inside a safe video layout.
Live preview
Advanced — installs @remotion/media for video sources.
AI usage
Install first, then import the copied source component locally.
Install
npx remotion-ui@latest add media-frameImport after install
@/remotion/scenes/media-frame- Use when: full-frame scenes, overlays, cards, and reusable video sections.
- Customize: src, fit, caption, plus copied source for timing, layout, colors, and typography.
- Rule: do not import this component from the
remotion-uinpm package; it is copied into your project.
Usage
import { MediaFrame } from "@/remotion/scenes/media-frame";
<MediaFrame src={staticFile("demo.png")} title="Product demo" />API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| src* | string | — | Image or video source. |
| fit | "cover" | "contain" | "cover" | Media object-fit behavior. |
| caption | string | — | Optional supporting caption. |