Clip Retargeting Bumper 6s 1
A 6-second retargeting bumper that answers the visitor's doubt over a real scene, then hard-cuts to the page's real button; sends warm traffic back to the page they left, vertical first.
Use it in a prompt
Use the video/clip-retargeting-bumper-6s 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-bumper-6s.tsx. - Import it and pass your copy and images (Props tab):
import { FRAMES } from "@/components/funneldna/video/clip-retargeting-bumper-6s"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/video/clip-retargeting-bumper-6s/component.tsx 112 lines
// When to use: A 6-second retargeting bumper that answers the visitor's doubt over a real scene, then hard-cuts to the page's real button; sends warm traffic back to the page they left, vertical first.
import * as React from "react"
import { Audio, Sequence, interpolate } from "remotion"
import { CLAMP, VideoStage, type VideoFormat, type VideoMeta, type Word } from "../fx/video-kit"
import { HookKineticQuestion } from "./hook-kinetic-question"
import { CtaEndCard } from "./cta-end-card"
import { CaptionsBurned, type CaptionScene, type CaptionStyle } from "./captions-burned"
export const video = { fps: 30, durationInFrames: 228, formats: ["vertical", "square", "landscape"], poster: 222 } satisfies VideoMeta
/** The Live frames a storyboard may name. Clips import frames; they never copy them. */
export const FRAMES = {
"video/hook-kinetic-question": HookKineticQuestion,
"video/cta-end-card": CtaEndCard,
} as const
export type FrameId = keyof typeof FRAMES
/**
* Frames whose on-screen type usually is the voice line itself, so captions would only repeat it. A scene whose voice
* says something its type does not (an end card voiced with more than its line and button) sets `captions: true`; the
* box then sits in the caption band, below the end card's terms and clear of its button.
*/
const SAYS_THE_LINE = new Set<FrameId>(["video/hook-kinetic-question", "video/cta-end-card"])
export type StoryboardScene = {
frame: FrameId
/** The frame's own props (copy, images); `format`, `durationInFrames` and `words` are set by the clip. */
props: Record<string, unknown>
/** 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 usually says the line (kinetic hooks, the end card). */
captions?: boolean
}
/** 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 ClipRetargetingBumper6sProps = {
format?: VideoFormat
durationInFrames?: number
storyboard?: StoryboardScene[]
timeline?: TimelineScene[]
/** Burned captions from the timeline for scenes that ask for them (or whose type does not say the line); the box style by default. false = off. */
captions?: CaptionStyle | false
/** One voice track for the whole bumper (or per-scene `voice` takes in the storyboard). */
voice?: string
/** Instrumental bed; ducked under any voice. */
music?: string
}
const FPS = 30
/**
* Bumper pacing: a retargeted viewer already knows the brand, so the first scene gives the picture only 0.1 s before
* the voice (the doubt reads by frame 12 with the sound off), each line breathes 0.85 s so its marker swipe lands
* before the cut, and the end card holds 1.5 s after the last word.
*/
const LEAD = 0.15, INTRO = 0.1, BREATHE = 0.85, END_HOLD = 1.5
/** Scene starts and lengths in frames, and the voice lead (frames) 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 add no overlap, so it is the plain sum of the scenes. */
export const clipDuration = (p: Pick<ClipRetargetingBumper6sProps, "storyboard" | "timeline">) =>
layout(p.storyboard ?? [], p.timeline).reduce((n, s) => n + s.len, 0) || video.durationInFrames
export const calculateMetadata = ({ props }: { props: ClipRetargetingBumper6sProps }) => ({ durationInFrames: clipDuration(props) })
/**
* A 6-second bumper: storyboard scenes joined by hard cuts (each scene owns exactly its frames: the outgoing scene's
* held last frame, then the next scene's first frame; no fade, no overlap), burned box captions where the scene asks
* for them, optional voice and music. Both scenes stand on the band: the doubt over a real photo under the band scrim,
* then the cut to the clean band field with the answer and the page's button, so the close reads as a new moment.
*/
export function ClipRetargetingBumper6s({ format = "vertical", durationInFrames, storyboard = [], timeline, captions = "box", voice, music }: ClipRetargetingBumper6sProps) {
const scenes = layout(storyboard, timeline)
const total = durationInFrames ?? clipDuration({ storyboard, timeline })
const capTimeline: CaptionScene[] = []
scenes.forEach((s, i) => {
const tl = timeline?.[i]
if (tl && s.words?.length && (s.captions ?? !SAYS_THE_LINE.has(s.frame))) capTimeline.push({ start: (s.from + s.lead * FPS) / FPS, words: tl.words })
})
const voiced = !!voice || scenes.some((s) => s.voice)
const bed = voiced ? 0.12 : 0.4
return (
<VideoStage format={format} tone="band">
{scenes.map((s, i) => {
const Frame = FRAMES[s.frame] as React.ComponentType<Record<string, unknown>>
return (
<Sequence key={i} from={s.from} durationInFrames={s.len} layout="none">
<Frame {...s.props} format={format} durationInFrames={s.len} words={s.words} {...(s.frame === "video/cta-end-card" ? { holdFrames: Math.round(END_HOLD * FPS) } : {})} />
{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, 8, total - 30, total], [0, bed, bed, 0], CLAMP)} />}
</VideoStage>
)
}
export default ClipRetargetingBumper6s
pieces/video/clip-retargeting-bumper-6s/specimen.tsx 52 lines
import __studioImage52be4757 from "../assets/52be4757ab997561.webp";
import * as React from "react"
import { slot } from "../../slots"
import { VideoPreview, type VideoFormat, type Word } from "../../fx/video-kit"
import { ClipRetargetingBumper6s, video, type ClipRetargetingBumper6sProps, type StoryboardScene, type TimelineScene } from "../clip-retargeting-bumper-6s"
export const states = ["vertical", "square", "landscape"]
/** Sample voice timings at a quick bumper 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.1 + 0.03 * w.replace(/[^a-z0-9]/gi, "").length
const word = { w, s: +t.toFixed(3), e: +(t + d).toFixed(3) }
t += d + 0.03 + (/[,.?!]$/.test(w) ? 0.15 : 0)
return word
})
return { speech: +(words[words.length - 1].e + pad).toFixed(3), words }
}
// Fictional sample brand: Tidewell, crew-scheduling software. The answer is the page's own import service; no proof, price or deadline.
// The doubt reads over a real scene (a laptop with a colourful weekly schedule in a work van): the photo keeps its own colours,
// the band scrim sits only on the text side and the screen stays in view. The end card drops its photo: under this brand's pale
// band a band scrim fogs any still, so the answer and the button stand on the solid band field and read crisply. Its voice
// says more than its type, so its box captions show in the caption band, below the terms and clear of the button.
export function sampleStoryboard(hookScene: string): StoryboardScene[] {
return [
{ frame: "video/hook-kinetic-question", seconds: 3, props: {
line: "Not technical? We move your clients for you.", highlight: "We move your clients for you.",
tone: "band", scene: hookScene, treatment: "natural", focus: "68% 55%",
} },
{ frame: "video/cta-end-card", seconds: 3, captions: true, props: {
line: "Set up in two days.", button: "Start my free trial", terms: "We import your client list for you", brand: "Tidewell", tone: "band",
} },
]
}
export const timeline: TimelineScene[] = [
voiced("Not technical? We move your clients for you."),
voiced("We set it up in two days. Tap start my free trial."),
]
export const sample: ClipRetargetingBumper6sProps = { storyboard: sampleStoryboard(__studioImage52be4757), timeline, captions: "box" }
/** clipDuration(sample): the hook runs frames 0–94, the end card 95–227 (layout() from the timeline above). */
export const durationInFrames = 228
/** The doubt readable, the answer swiped and held before the cut, the end card with its first caption, the button caption, final hold. */
export const keyframes = [12, 84, 140, 175, 227]
export const sampleBrand = {"name":"Tidewell","theme":"light","background":"#ffffff","colors":["#1554d1","#ff5a36"],"fonts":["Fraunces","DM Sans"],"band":"#bfe3ff","button":"square-caps"}
export default function ClipRetargetingBumper6sSpecimen({ state = "vertical" }: { state?: string }) {
const props = { ...sample, storyboard: sampleStoryboard(slot("scene", __studioImage52be4757)) }
return <VideoPreview component={ClipRetargetingBumper6s} props={props} format={state as VideoFormat} meta={video} durationInFrames={durationInFrames} />
}
| Name | Type | Details |
|---|---|---|
layout |
StoryboardScene[] |
|
format OptionalClipRetargetingBumper6s |
VideoFormat |
Default "vertical"
|
durationInFrames OptionalClipRetargetingBumper6s |
number |
|
storyboard OptionalClipRetargetingBumper6s |
StoryboardScene[] |
Default []
|
timeline OptionalClipRetargetingBumper6s |
TimelineScene[] |
|
captions OptionalClipRetargetingBumper6s |
CaptionStyle | false |
Default "box"
|
voice OptionalClipRetargetingBumper6s |
string |
|
music OptionalClipRetargetingBumper6s |
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.
scene- A wide atmosphere photo behind or beside the copy.
-
52be4757ab997561.webp
image/webp · 119 KB
-
bec2a41897a3364d.webp
image/webp · 51.2 KB