Warning before you
Dark headline bar dropped in at the top, subject left clear below. Stages: “Before you buy a mattress online, watch this first.” The video fixes a common error and you can name it specifically. Fits lines like “Before you book that flight, watch this first.”.
Preview unavailable
Open my video with this hook: "Warning before you" from the 24fps video editor library.
Preset JSON: https://24fps.dev/video-editor/hooks/warning-before-you/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 is a wrapper holding my video, filling the root. Then const fx = mount(root, { kind: "text", preset, media }) and call fx.render(seconds) every frame. The preset runs 4s from t = 0; offset t to place it later. 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). Check it on my footage: if text is hidden behind the subject or doesn't read against my colours, nudge the layer positions or colours.
Replace the demo text with mine: set preset.layers[n].text (use \n for line breaks); if none given, write lines that fit my footage and tell me.
Hook formula: Before you [action], watch this first.
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- Formula
- Before you [action], watch this first.
- Example lines
- Before you buy a mattress online, watch this first. · Before you book that flight, watch this first. · Before you quit your job, watch this first. · Before you get a tattoo, watch this first.
- Beats
- 0.0s Headline bar 'Before you book that flight, watch this' drops in at the top. → 0.5s Caps sub-line 'wait' fades in under it. → 1.4s Speaker puts up a hand like a stop sign; subtle alert tone; banner drops onto the top edge above their head.
- Technique
- Mistake / warning hook: Loss framing: tell viewers they are unknowingly doing it wrong.
- Footage
- Man talking and gesturing, Pexels