Clip Retargeting Reminder 11s 1
An 11-second retargeting reminder (the waiting offer, the one-step ritual, the button) sequenced from Live frames on punch-in cuts; warm traffic back to the offer page, vertical first.
Use it in a prompt
Use the video/clip-retargeting-reminder-11s video clip from the FunnelDNA library in my brand (vertical and square and landscape). Follow the video skill. Ask me for the script facts, voice and images you need; do not invent proof.
Paste into Claude or ChatGPT with FunnelDNA connected (MCP setup), or alongside the skill.
Use it in code
- Save
component.tsx(Code tab) ascomponents/funneldna/video/clip-retargeting-reminder-11s.tsx. - Import it and pass your copy and images (Props tab):
import { FRAMES } from "@/components/funneldna/video/clip-retargeting-reminder-11s"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/video/clip-retargeting-reminder-11s/component.tsx 120 lines
// When to use: An 11-second retargeting reminder (the waiting offer, the one-step ritual, the button) sequenced from Live frames on punch-in cuts; warm traffic back to the offer page, vertical first.
import * as React from "react"
import { AbsoluteFill, Audio, Sequence, interpolate, useCurrentFrame } from "remotion"
import { CLAMP, EASE, VideoStage, progress, type VideoFormat, type VideoMeta, type Word } from "../fx/video-kit"
import { BrollKenBurns, type BrollKenBurnsProps } from "./broll-ken-burns"
import { HookKineticQuestion, type HookKineticQuestionProps } from "./hook-kinetic-question"
import { CtaEndCard, type CtaEndCardProps } from "./cta-end-card"
import { CaptionsBurned, type CaptionScene, type CaptionStyle } from "./captions-burned"
export const video = { fps: 30, durationInFrames: 330, formats: ["vertical", "square", "landscape"], poster: 320 } satisfies VideoMeta
/** The Live frames a storyboard may name. Clips import frames; they never copy them. */
export const FRAMES = {
"video/broll-ken-burns": BrollKenBurns,
"video/hook-kinetic-question": HookKineticQuestion,
"video/cta-end-card": CtaEndCard,
} as const
export type FrameId = keyof typeof FRAMES
/** Frames whose on-screen type is the voice line itself: captions would only repeat it. */
const SAYS_THE_LINE = new Set<FrameId>(["video/broll-ken-burns", "video/hook-kinetic-question"])
/** Each frame's own Props type, so a storyboard prop the frame does not take fails the library typecheck. */
type FrameProps = {
"video/broll-ken-burns": BrollKenBurnsProps
"video/hook-kinetic-question": HookKineticQuestionProps
"video/cta-end-card": CtaEndCardProps
}
/** Props the clip sets on every frame itself (format, scene length, voice timings, the end card's hold). */
type ClipSetProps = "format" | "durationInFrames" | "words" | "holdFrames"
/** One storyboard scene: a union keyed on `frame`, so `props` is checked against that frame's own Props. */
export type StoryboardScene = {
[F in FrameId]: {
frame: F
/** The frame's own props (copy, images); `format`, `durationInFrames`, `words` (and the end card's hold) are set by the clip. */
props: Omit<FrameProps[F], ClipSetProps>
/** Scene length when no timeline is given. */
seconds: number
/** Optional voice take for this scene (starts with the scene's voice lead). */
voice?: string
/** Burn captions over this scene; default off for frames whose own type already says the line. */
captions?: boolean
}
}[FrameId]
/** The skill's timeline.json, one entry per storyboard scene: speech length and word timings (seconds). */
export type TimelineScene = { id?: string; speech?: number; words: Word[] }
export type ClipRetargetingReminder11sProps = {
format?: VideoFormat
durationInFrames?: number
storyboard?: StoryboardScene[]
timeline?: TimelineScene[]
/** Burned captions from the timeline; karaoke by default (the spoken word lights up). false = off. */
captions?: CaptionStyle | false
voice?: string
music?: string
}
const FPS = 30
/** The opening scene leads its voice by only 0.3 s, so the reminder is readable inside the first half-second. */
const LEAD = 0.15, INTRO = 0.3, BREATHE = 0.6, END_HOLD = 2
/** Punch-in cut: the incoming scene starts at this scale and settles to 1.0 over PUNCH frames. */
const PUNCH = 8, PUNCH_FROM = 1.05
/** Scene starts and lengths in frames, and the voice lead (seconds) inside each scene. */
export function layout(storyboard: StoryboardScene[], timeline?: TimelineScene[]) {
let t = 0
return storyboard.map((sc, i) => {
const tl = timeline?.[i]
const last = i === storyboard.length - 1
const lead = i === 0 ? INTRO : LEAD
const speech = tl ? tl.speech ?? (tl.words.length ? tl.words[tl.words.length - 1].e : 0) : 0
const len = Math.round((tl ? lead + speech + (last ? END_HOLD : BREATHE) : sc.seconds) * FPS)
const r = { ...sc, from: t, len, lead: tl ? lead : 0, words: tl?.words.map((w) => ({ ...w, s: w.s + lead, e: w.e + lead })) }
t += len
return r
})
}
/** Total frames (feed this to calculateMetadata). Hard cuts: scenes butt end to end, no overlap. */
export const clipDuration = (p: Pick<ClipRetargetingReminder11sProps, "storyboard" | "timeline">) =>
layout(p.storyboard ?? [], p.timeline).reduce((n, s) => n + s.len, 0) || video.durationInFrames
export const calculateMetadata = ({ props }: { props: ClipRetargetingReminder11sProps }) => ({ durationInFrames: clipDuration(props) })
/** An 11-second reminder: storyboard scenes on punch-in hard cuts, karaoke captions, optional voice and music. */
export function ClipRetargetingReminder11s({ format = "vertical", durationInFrames, storyboard = [], timeline, captions = "karaoke", voice, music }: ClipRetargetingReminder11sProps) {
const scenes = layout(storyboard, timeline)
const total = durationInFrames ?? clipDuration({ storyboard, timeline })
const capTimeline: CaptionScene[] = scenes
.filter((s) => s.words?.length && (s.captions ?? !SAYS_THE_LINE.has(s.frame)))
.map((s) => ({ start: (s.from + s.lead * FPS) / FPS, words: timeline![scenes.indexOf(s)].words }))
const voiced = !!voice || scenes.some((s) => s.voice)
return (
<VideoStage format={format} tone="band">
{scenes.map((s, i) => {
// The union has already checked `props` against this frame's Props; the lookup itself is untyped.
const Frame = FRAMES[s.frame] as unknown as React.ComponentType<Record<string, unknown>>
const own = s.props as Record<string, unknown>
const inner = <Frame {...own} format={format} durationInFrames={s.len} words={s.words} {...(s.frame === "video/cta-end-card" ? { holdFrames: Math.round(END_HOLD * FPS) } : {})} />
return (
<Sequence key={i} from={s.from} durationInFrames={s.len} layout="none">
<PunchIn first={i === 0}>{inner}</PunchIn>
{s.voice && <Sequence from={Math.round(s.lead * FPS)} layout="none"><Audio src={s.voice} /></Sequence>}
</Sequence>
)
})}
{captions && capTimeline.length > 0 && <CaptionsBurned format={format} timeline={capTimeline} style={captions} durationInFrames={total} />}
{voice && <Audio src={voice} />}
{music && <Audio src={music} volume={(f) => interpolate(f, [0, 20, total - 50, total], [0, voiced ? 0.12 : 0.4, voiced ? 0.12 : 0.4, 0], CLAMP)} />}
</VideoStage>
)
}
/** The punch-in cut: a hard cut where the incoming scene lands 5% close and settles to full frame over 8 frames. */
function PunchIn({ first, children }: { first: boolean; children?: React.ReactNode }) {
const f = useCurrentFrame()
const s = first ? 1 : PUNCH_FROM + (1 - PUNCH_FROM) * progress(f, 0, PUNCH, EASE)
return <AbsoluteFill style={{ transform: `scale(${s})`, transformOrigin: "50% 50%" }}>{children}</AbsoluteFill>
}
export default ClipRetargetingReminder11s
pieces/video/clip-retargeting-reminder-11s/specimen.tsx 62 lines
import __studioImagec0eda6e6 from "../assets/c0eda6e67002983d.webp";
import __studioImage4be5e5b0 from "../assets/4be5e5b00ec0536b.webp";
import __studioImagea9600b93 from "../assets/a9600b9357cb4457.webp";
import __studioImage1101ca6d from "../assets/1101ca6d4537b902.webp";
import * as React from "react"
import { slot } from "../../slots"
import { VideoPreview, type VideoFormat, type Word } from "../../fx/video-kit"
import { ClipRetargetingReminder11s, video, type ClipRetargetingReminder11sProps, type StoryboardScene, type TimelineScene } from "../clip-retargeting-reminder-11s"
export const states = ["vertical", "square", "landscape"]
/** Sample voice timings at a calm ad read; `pad` lets a scene breathe past its last word. */
function voiced(text: string, pad = 0): TimelineScene {
let t = 0
const words: Word[] = text.split(" ").map((w) => {
const d = 0.13 + 0.04 * w.replace(/[^a-z0-9]/gi, "").length
const word = { w, s: +t.toFixed(3), e: +(t + d).toFixed(3) }
t += d + 0.05 + (/[,.?!]$/.test(w) ? 0.2 : 0)
return word
})
return { speech: +(words[words.length - 1].e + pad).toFixed(3), words }
}
// Fictional sample brand: Quillon Daily, a greens powder (first tin free). The terms are the page's own; no deadline, no proof scene.
// Each scene's props are typed by its frame: a prop the frame does not take (such as `line` on the b-roll) fails the typecheck.
export function sampleStoryboard(unboxing: string, glass: string, product: string, kitchen: string): StoryboardScene[] {
return [
{ frame: "video/broll-ken-burns", seconds: 4, props: { phrase: "Your free tin is waiting.", corner: "bottom-left", scene: unboxing, move: "push", treatment: "natural", focus: "50% 55%" } },
{ frame: "video/hook-kinetic-question", seconds: 3, props: { line: "One scoop. Any glass of water.", highlight: "Any glass of water.", tone: "surface", scene: glass, treatment: "natural", focus: "70% 50%" } },
{ frame: "video/cta-end-card", seconds: 4, props: {
line: "Try a scoop in your own kitchen.", button: "Claim my free tin",
terms: "Free tin · you cover $6 shipping · cancel any time", brand: "Quillon Daily", product, scene: kitchen,
} },
]
}
// The opening take says the on-screen phrase word for word, so each word lands on its spoken frame (the first at frame 9);
// its pad keeps the scene at 120 frames, as before.
export const timeline: TimelineScene[] = [
voiced("Your free tin is waiting.", 1.45),
voiced("One scoop. Any glass of water.", 0.1),
voiced("Tap claim my free tin.", 0.32),
]
export const sample: ClipRetargetingReminder11sProps = {
storyboard: sampleStoryboard(__studioImagec0eda6e6, __studioImage4be5e5b0, __studioImagea9600b93, __studioImage1101ca6d),
timeline,
captions: "karaoke",
}
/** clipDuration(sample): scenes start at 0, 120 and 210 (layout() from the timeline above); 11 s. */
export const durationInFrames = 330
/** Reminder phrase risen (sound-off hook), reminder mid-push, punch-in settled, swipe landed, button in, final hold. */
export const keyframes = [20, 70, 128, 200, 250, 329]
/** The sample business in its own colours and type (sample-brands.json); Original and every preset stay one click away. */
export const sampleBrand = {"name":"Quillon Daily","theme":"dark","background":"#0f1f19","colors":["#3ddc97","#f4b860"],"fonts":["Fraunces","Nunito Sans"],"button":"pill-bold"}
export default function ClipRetargetingReminder11sSpecimen({ state = "vertical" }: { state?: string }) {
const props = {
...sample,
storyboard: sampleStoryboard(slot("scene", __studioImagec0eda6e6), slot("scene", __studioImage4be5e5b0), slot("product", __studioImagea9600b93), slot("scene", __studioImage1101ca6d)),
}
return <VideoPreview component={ClipRetargetingReminder11s} props={props} format={state as VideoFormat} meta={video} durationInFrames={durationInFrames} />
}
| Name | Type | Details |
|---|---|---|
layout |
StoryboardScene[] |
|
format OptionalClipRetargetingReminder11s |
VideoFormat |
Default "vertical"
|
durationInFrames OptionalClipRetargetingReminder11s |
number |
|
storyboard OptionalClipRetargetingReminder11s |
StoryboardScene[] |
Default []
|
timeline OptionalClipRetargetingReminder11s |
TimelineScene[] |
|
captions OptionalClipRetargetingReminder11s |
CaptionStyle | false |
Default "karaoke"
|
voice OptionalClipRetargetingReminder11s |
string |
|
music OptionalClipRetargetingReminder11s |
string |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
None listed in this pack.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
product- The main product shot or cover (ebook, kit, bottle).
scene- A wide atmosphere photo behind or beside the copy.
-
1101ca6d4537b902.webp
image/webp · 133 KB
-
4be5e5b00ec0536b.webp
image/webp · 115 KB
-
a9600b9357cb4457.webp
image/webp · 17.6 KB
-
bec2a41897a3364d.webp
image/webp · 51.2 KB
-
c0eda6e67002983d.webp
image/webp · 145 KB