Inset portrait card in a dark teal bevelled frame

Footage shrinks into a rounded portrait card centred on a dark teal field with a cyan-teal rim and drop shadow, then settles. Gaming and tech clips where the speaker should sit in a card for an intro or a callout beat.

Lay out my footage like this: "Inset portrait card in a dark teal bevelled frame" from the 24fps video editor library.
Preset JSON: https://24fps.dev/video-editor/layouts/inset-portrait-card-teal-frame/preset.json (pass its "preset" to the engine).
Engine (MIT, no dependencies, ES module): https://24fps.dev/editor/engine.js. Download the engine next to your page (curl -O) rather than importing cross-origin, then import { mount } from "./engine.js" in a <script type="module"> served over http.
Wiring: root = a position:relative box at the video's size. media = { main }: main = wrapper holding my video; the engine positions and crops it into the layout's slots. Then const fx = mount(root, { kind: "layout", preset, media }) and call fx.render(seconds) every frame. It is seek-safe: drive it from the GSAP timeline in HyperFrames or call render(frame / fps) in Remotion. Before capturing frames, await (fx.ready ?? document.fonts.ready).
Field reference: https://24fps.dev/video-editor/llms.txt. Keep sizes as fractions of the frame height so it works at any resolution. Credit: 24fps.dev/video-editor
Same idea
Also called: Pulse (AI Edit)
Technique
Inset video card on a dark gradient field, a common gaming-overlay frame.
Footage
Man talking and gesturing, Pexels

Similar layouts