Clip Bumper Night Call 6s 1
A six-second cold bumper (its own night-clock hook: 1:58 rolls to 2:00 over a dark kitchen with the question under it, a hard cut, then the end card with the page's button); feed and pre-roll traffic to a call or booking page, vertical first.
Use it in a prompt
Use the video/clip-bumper-night-call-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-bumper-night-call-6s.tsx. - Import it and pass your copy and images (Props tab):
import { FRAMES } from "@/components/funneldna/video/clip-bumper-night-call-6s"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/video/clip-bumper-night-call-6s/component.tsx 307 lines
// When to use: A six-second cold bumper (its own night-clock hook: 1:58 rolls to 2:00 over a dark kitchen with the question under it, a hard cut, then the end card with the page's button); feed and pre-roll traffic to a call or booking page, vertical first.
import * as React from "react"
import { Audio, Sequence, interpolate } from "remotion"
import noise from "../fx/textures/noise"
import {
CLAMP, Crossfade, HOLD, Rise, RollDigit, StageField, StagePhoto, T, TONES, VideoStage, XFADE, cue, display, phraseRange, progress,
useFitText, useHeld, useStage, useWords, type VideoFormat, type VideoMeta, type Word,
} from "../fx/video-kit"
import { CtaEndCard } from "./cta-end-card"
import { CaptionsBurned, type CaptionScene, type CaptionStyle } from "./captions-burned"
export const video = { fps: 30, durationInFrames: 204, formats: ["vertical", "square", "landscape"], poster: 198 } satisfies VideoMeta
/**
* What a storyboard may name: the clip's own night-clock hook (owner 2026-11-22: it replaces the Live clock frame in every
* format, so every figure, mid-roll digits included, stays inside each format's safe area) and the Live end card, imported,
* never copied.
*/
export const FRAMES = {
"scene/night-clock": NightClockHook,
"video/cta-end-card": CtaEndCard,
} as const
export type FrameId = keyof typeof FRAMES
/**
* Scenes whose on-screen type already shows the voice line: the clock hook prints the question and the end card prints the
* button label the voice reads. Captions there would only repeat it, and a caption box under the end card's button
* competes with the one action.
*/
const SAYS_THE_LINE = new Set<FrameId>(["scene/night-clock", "video/cta-end-card"])
/** How a scene enters: a hard cut on its first frame (the bumper's default) or a 10-frame crossfade. */
export type Join = "cut" | "crossfade"
export type StoryboardScene = {
frame: FrameId
/** The scene'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 scenes whose own type already shows the line (the hook, the end card). */
captions?: boolean
/** How this scene enters; defaults to the clip's `join`. Ignored on the first scene. */
join?: Join
}
/** 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 ClipBumperNightCall6sProps = {
format?: VideoFormat
durationInFrames?: number
storyboard?: StoryboardScene[]
timeline?: TimelineScene[]
/**
* Burned captions from the timeline, for scenes whose type does not already show their line (a swapped-in scene, or
* one with `captions: true`); karaoke by default. false = off.
*/
captions?: CaptionStyle | false
/** How scenes join: a hard cut by default, so the landed clock snaps straight to the answer. */
join?: Join
voice?: string
music?: string
}
const FPS = 30
/** Picture before the first word, lead before later lines, breath after a line, and the end card's still hold (seconds). */
const LEAD = 0.15, INTRO = 0.5, BREATHE = 0.6, END_HOLD = 1.5
/** 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). Cuts and crossfades both keep scenes end to end. */
export const clipDuration = (p: Pick<ClipBumperNightCall6sProps, "storyboard" | "timeline">) =>
layout(p.storyboard ?? [], p.timeline).reduce((n, s) => n + s.len, 0) || video.durationInFrames
export const calculateMetadata = ({ props }: { props: ClipBumperNightCall6sProps }) => ({ durationInFrames: clipDuration(props) })
/** A six-second bumper: storyboard scenes joined by hard cuts (or crossfades), karaoke captions, optional voice and music. */
export function ClipBumperNightCall6s({
format = "vertical", durationInFrames, storyboard = [], timeline, captions = "karaoke", join = "cut", voice, music,
}: ClipBumperNightCall6sProps) {
const scenes = layout(storyboard, timeline)
const total = durationInFrames ?? clipDuration({ storyboard, timeline })
const voiced = !!voice || scenes.some((s) => s.voice)
const bed = voiced ? 0.12 : 0.4
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 fades = (i: number) => i > 0 && i < scenes.length && (scenes[i].join ?? join) === "crossfade"
return (
<VideoStage format={format} tone="band">
{scenes.map((s, i) => {
const Frame = FRAMES[s.frame] as React.ComponentType<Record<string, unknown>>
const fadeIn = fades(i), fadeOut = fades(i + 1)
const inner = <Frame {...s.props} format={format} durationInFrames={s.len} words={s.words} {...(s.frame === "video/cta-end-card" ? { holdFrames: Math.round(END_HOLD * FPS) } : {})} />
// A cut: the scene ends on its last frame and the next starts at full opacity on the following one.
return (
<Sequence key={i} from={s.from} durationInFrames={s.len + (fadeOut ? XFADE : 0)} layout="none">
<Crossfade first={!fadeIn} out={fadeOut ? s.len : undefined}>{inner}</Crossfade>
{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 - 30, total], [0, bed, bed, 0], CLAMP)} />}
</VideoStage>
)
}
export default ClipBumperNightCall6s
// ── The clip's own hook: the night clock ──────────────────────────────────────────────────────────────────────────
export type NightClockHookProps = {
format?: VideoFormat
durationInFrames?: number
/** The clock before it rolls ("1:58"). */
from?: string
/** An optional reading the clock passes through on the way ("1:59"). */
via?: string
/** The stuck moment the clock lands on ("2:00"); its last digit lands as the highlight is spoken. */
to?: string
/** The small suffix beside the figures (16:9, 1:1) or under them (9:16), e.g. "a.m.". */
suffix?: string
/** The question under the figures, one sentence. */
line?: string
/** The phrase inside `line` that steps to the accent colour on its spoken frame. */
highlight?: string
/** Voice timings for `line`; without them the words are paced evenly over the first half of the scene. */
words?: Word[]
/** Night scene behind the type (pass slot("scene", …)); keeps its own colours under a pooled band scrim. */
scene?: string
/** Photo focal point (CSS object-position). */
focus?: string
}
/** Fixed slot widths (em of the figure size) so the clock never jitters while a digit rolls. */
const DIGIT_EM = 0.66, SEP_EM = 0.34, AM_EM = 0.2
/** Frames per digit roll, and the stagger between digits of one step (rightmost first, like a real clock). */
const ROLL = 12, STAGGER = 3
/**
* Clear space around the figures' roll window (em of the figure size). A rolling glyph travels 42% of its 1.12em window,
* so its box can reach 0.47em past the window: the top keeps 0.5em clear of the platform band (9:16) or title-safe edge,
* and the line starts at least 0.42em below the window (more than the 40px the brief asks for).
*/
const TOP_CLEAR = 0.5, BELOW_CLEAR = 0.42
/**
* The highlight colour: the brand accent blended in oklab halfway toward the band's text colour, so it keeps the accent's
* hue but always reads on the band scrim (plain --accent is fitted to card and surface, not to a dark band over a photo).
*/
const EMPH = "color-mix(in oklab, var(--accent-fill, var(--accent)) 50%, var(--band-ink))"
const pool = (a: number) => `oklch(from var(--band) l c h / ${a})`
type ClockLayout = {
/** Text zone edges in stage px: top and bottom insets, side inset. */
top: number; bottom: number; x: number
align: "left" | "center"
/** The suffix sits under the figures (9:16) instead of beside them. */
amUnder: boolean
/** Largest figure size and line size (stage px); the line's height budget and allowed row counts. */
figMax: number; lineMax: number; lineBoxH: number; lines: number[]
/** The dark scrim pooled behind the type. */
pool: string
}
/**
* Per format, budgets that always sum inside the zone: vertical 250px from the top to 640px from the bottom; square and
* landscape from the 48px title-safe edge to the bottom caption band.
*/
const CLOCK_LAYOUT: Record<VideoFormat, ClockLayout> = {
vertical: { top: 250, bottom: 640, x: 84, align: "center", amUnder: true, figMax: 360, lineMax: 104, lineBoxH: 224, lines: [2, 3],
pool: `radial-gradient(ellipse 96% 46% at 50% 40%, ${pool(0.8)}, ${pool(0.55)} 50%, transparent 82%)` },
square: { top: 48, bottom: 190, x: 84, align: "center", amUnder: false, figMax: 280, lineMax: 96, lineBoxH: 210, lines: [1, 2],
pool: `radial-gradient(ellipse 80% 68% at 50% 46%, ${pool(0.78)}, ${pool(0.52)} 50%, transparent 82%)` },
landscape: { top: 48, bottom: 180, x: 150, align: "left", amUnder: false, figMax: 300, lineMax: 120, lineBoxH: 200, lines: [1, 2],
pool: `radial-gradient(ellipse 58% 82% at 26% 47%, ${pool(0.8)}, ${pool(0.52)} 48%, transparent 80%)` },
}
const DIGIT = /[0-9]/
/** Hook: huge clock figures roll digit by digit to the stuck moment while the question rises under them. */
function NightClockHook({
format = "landscape", durationInFrames = 126, from = "", via, to = "", suffix = "", line = "", highlight, words, scene, focus,
}: NightClockHookProps) {
const f = useHeld(durationInFrames)
const { u, width } = useStage()
const L = CLOCK_LAYOUT[format]
const left = L.align === "left"
const W = width / u - 2 * L.x
// The readings, padded to one length so each slot rolls on its own; a slot that never holds a digit stays still.
const seq = [from, via, to].filter((x): x is string => !!x && x.trim().length > 0)
const n = Math.max(0, ...seq.map((x) => x.length))
const reads = seq.map((x) => x.padStart(n, " "))
const rolls = (i: number) => reads.some((x) => DIGIT.test(x[i]))
const changed = reads.slice(1).map((b, k) => [...b].map((_, i) => i).filter((i) => reads[k][i] !== b[i]).reverse())
// Timing: the last step's final digit lands as the highlight is spoken; earlier steps run before it, never before
// frame 16 (the first reading is up and still by then), and the clock is down before the hold.
const timed = useWords(line, words, durationInFrames, { from: 3, span: 0.5 })
const range = phraseRange(timed, highlight)
const hiAt = cue(timed, highlight, Math.round(durationInFrames * 0.3))
const span = (k: number) => Math.max(0, changed[k].length - 1) * STAGGER + ROLL
const starts = changed.map(() => 0)
for (let k = changed.length - 1; k >= 0; k--)
starts[k] = k === changed.length - 1 ? hiAt - 1 - (span(k) - ROLL) : starts[k + 1] - span(k) - 2
const early = starts.length ? Math.max(0, 16 - starts[0]) : 0
const land0 = starts.length ? starts[starts.length - 1] + early + span(starts.length - 1) : 0
const late = Math.max(0, land0 - (durationInFrames - HOLD - 14))
const at = starts.map((x) => Math.max(0, x + early - late))
const land = at.length ? at[at.length - 1] + span(at.length - 1) : 0
const slotAt = (i: number) => {
let cur = reads[0][i]
for (let k = 0; k < changed.length; k++) {
const order = changed[k].indexOf(i)
if (order < 0) continue
const s0 = at[k] + order * STAGGER
const r = progress(f, s0, s0 + ROLL, (t) => t)
if (r <= 0) break
if (r < 1) return { from: cur, to: reads[k + 1][i], r }
cur = reads[k + 1][i]
}
return { from: cur, to: cur, r: 1 }
}
// Figures: measured in the theme's face to fill the safe width, capped by the slot layout and the format's height budget.
const slotsEm = reads.length ? [...reads[0]].reduce((sum, _, i) => sum + (rolls(i) ? DIGIT_EM : SEP_EM), 0) : 1
const besideEm = !L.amUnder && suffix ? AM_EM * 0.5 * suffix.length + 0.08 : 0
const bySlots = Math.min(L.figMax, W / (slotsEm + besideEm))
const figRef = React.useRef<HTMLDivElement>(null)
const widest = reads.reduce((a, b) => (b.trim().length > a.length ? b.trim() : a), "")
const fit = useFitText(figRef, widest, {
boxW: W * (slotsEm / (slotsEm + besideEm)) * u, boxH: L.figMax * 1.2 * u, guess: bySlots * u, max: L.figMax * u, min: 120 * u, lines: [1],
})
const s = Math.min(fit, bySlots * u)
const am = Math.max(28 * u, Math.round(AM_EM * s))
const lineRef = React.useRef<HTMLHeadingElement>(null)
const lineSize = useFitText(lineRef, line, { boxW: W * u, boxH: L.lineBoxH * u, guess: L.lineMax * 0.85 * u, max: L.lineMax * u, min: 60 * u, lines: L.lines })
// Motion: the figures are up by frame 10, beat once when the clock lands; the highlight steps colour on its word.
const enter = progress(f, 0, 10)
const beat = 1 + 0.03 * Math.sin(Math.PI * progress(f, land, land + 12, (t) => t))
const step = range ? progress(f, hiAt, hiAt + 6) : 0
const hiColor = `color-mix(in oklab, ${EMPH} ${Math.round(step * 100)}%, ${T.bandInk})`
const ws = timed.map((x) => x.w)
const lead = range ? ws.slice(0, range[0]).join(" ") : ws.join(" ")
const hi = range ? ws.slice(range[0], range[1]).join(" ") : ""
const tail = range ? ws.slice(range[1]).join(" ") : ""
const lineGap = !reads.length ? 0 : L.amUnder && suffix ? Math.max(48 * u, (BELOW_CLEAR - 0.04) * s - 1.1 * am) : BELOW_CLEAR * s
return (
<VideoStage format={format} tone="band">
{scene
? <StagePhoto src={scene} frame={f} dur={durationInFrames - HOLD} push={[1.02, 1.1]} treatment="natural" tone="band" side={left ? "left" : "center"} position={focus} />
: <StageField tone="band" texture={noise} opacity={0.14} frame={f} />}
<div aria-hidden style={{ position: "absolute", inset: 0, zIndex: 0, pointerEvents: "none", background: L.pool }} />
<div style={{
position: "absolute", zIndex: 1, top: L.top * u, bottom: L.bottom * u, left: L.x * u, right: L.x * u, display: "flex", flexDirection: "column",
justifyContent: "center", alignItems: left ? "flex-start" : "center", textAlign: left ? "left" : "center", color: TONES.band.ink,
}}>
{reads.length > 0 && (
<div style={{ paddingTop: TOP_CLEAR * s }}>
<div style={{
display: "flex", flexDirection: L.amUnder ? "column" : "row", alignItems: L.amUnder ? "center" : "flex-end", opacity: enter,
transform: `translateY(${(1 - enter) * 16 * u}px) scale(${(0.94 + 0.06 * enter) * beat})`, transformOrigin: left ? "0% 60%" : "50% 60%",
}}>
<div ref={figRef} style={{
...display(s, { lineHeight: 1.12, letterSpacing: 0 }), display: "flex", alignItems: "flex-end", height: "1.12em", whiteSpace: "nowrap", fontVariantNumeric: "tabular-nums",
}}>
{[...reads[0]].map((_, i) => {
if (!rolls(i)) return <span key={i} style={{ display: "block", width: `${SEP_EM}em`, textAlign: "center", lineHeight: 1.12 }}>{reads[reads.length - 1][i]}</span>
const d = slotAt(i)
return <span key={i} style={{ display: "flex", justifyContent: "center", width: `${DIGIT_EM}em` }}><RollDigit from={d.from} to={d.to} r={d.r} /></span>
})}
</div>
{suffix && (
<span style={{
fontFamily: T.body, fontWeight: 700, fontSize: am, lineHeight: 1.1, letterSpacing: "0.02em", whiteSpace: "nowrap", color: TONES.band.ink,
...(L.amUnder ? { marginTop: 0.04 * s } : { marginLeft: 0.08 * s, marginBottom: 0.2 * (s - am) }),
}}>{suffix}</span>
)}
</div>
</div>
)}
{line && (
<Rise at={2} dur={12} y={18} style={{ marginTop: lineGap, maxWidth: W * u }}>
<h2 ref={lineRef} style={{ ...display(lineSize, { lineHeight: 1.06 }), margin: 0, color: TONES.band.ink }}>
{lead}
{hi && <>{lead ? " " : ""}<span style={{ color: hiColor, whiteSpace: "nowrap" }}>{hi}</span></>}
{tail ? " " + tail : ""}
</h2>
</Rise>
)}
</div>
</VideoStage>
)
}
pieces/video/clip-bumper-night-call-6s/specimen.tsx 50 lines
import kitchenNight from "../assets/ec116666afaa2e08.webp"
import * as React from "react"
import { slot } from "../../slots"
import { VideoPreview, type VideoFormat, type Word } from "../../fx/video-kit"
import { ClipBumperNightCall6s, video, type ClipBumperNightCall6sProps, type StoryboardScene, type TimelineScene } from "../clip-bumper-night-call-6s"
export const states = ["vertical", "square", "landscape"]
/** Sample voice timings at a brisk bumper read; `pad` lets a scene breathe past its last word. */
function voiced(id: string, 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.12 : 0)
return word
})
return { id, speech: +(words[words.length - 1].e + pad).toFixed(3), words }
}
// Fictional sample brand: Gullwing Plumbing, an emergency plumber. Hours and rates stand in for the page's own facts; no proof scene.
// Both scenes play over the night kitchen: the clock hook keeps the photo's own cold light under a pooled band scrim, and the
// end card reads over the same dark room (over the bright van street 'up' fell to 4.4:1).
export function sampleStoryboard(kitchen: string): StoryboardScene[] {
return [
{ frame: "scene/night-clock", seconds: 4.2, props: {
from: "1:58", via: "1:59", to: "2:00", suffix: "a.m.", line: "Pipe burst at 2 a.m.?", highlight: "2 a.m.?", scene: kitchen,
} },
{ frame: "video/cta-end-card", seconds: 2.6, join: "cut", props: {
tone: "band", line: "We pick up at 2 a.m. too.", button: "Call Gullwing now", terms: "Night call-outs at our day rate", brand: "Gullwing Plumbing", scene: kitchen,
} },
]
}
// The hook asks; the voice answers with the button's exact label. Pads give the hook 4.2 s and the end card 2.6 s.
export const timeline: TimelineScene[] = [
voiced("hook", "Pipe burst at 2 a.m.?", 2.06),
voiced("cta", "Call Gullwing now.", 0.14),
]
export const sample: ClipBumperNightCall6sProps = { storyboard: sampleStoryboard(kitchenNight), timeline, captions: "karaoke", join: "cut" }
/** clipDuration(sample): the hook runs frames 0–125 (8 rolls to 9 at 16, 1:59 rolls to 2:00 from 30 and lands at 48, still from 114), the hard cut lands on 126, the end card holds still from 159 to 203. */
export const durationInFrames = 204
/** Figures and line readable, every digit mid-roll (1:59 to 2:00), clock landed under the push, hook held before the cut, end card with its button, final hold. */
export const keyframes = [15, 40, 70, 125, 152, 203]
export const sampleBrand = {"name":"Gullwing Plumbing","theme":"dark","background":"#17191c","colors":["#b6e34a","#6bd3ff"],"fonts":["Roboto Slab","Roboto"],"button":"soft-caps"}
export default function ClipBumperNightCall6sSpecimen({ state = "vertical" }: { state?: string }) {
const props = { ...sample, storyboard: sampleStoryboard(slot("scene", kitchenNight)) }
return <VideoPreview component={ClipBumperNightCall6s} props={props} format={state as VideoFormat} meta={video} durationInFrames={durationInFrames} />
}
| Name | Type | Details |
|---|---|---|
layout |
StoryboardScene[] |
|
format OptionalClipBumperNightCall6s |
VideoFormat |
Default "vertical"
|
durationInFrames OptionalClipBumperNightCall6s |
number |
|
storyboard OptionalClipBumperNightCall6s |
StoryboardScene[] |
Default []
|
timeline OptionalClipBumperNightCall6s |
TimelineScene[] |
|
captions OptionalClipBumperNightCall6s |
CaptionStyle | false |
Default "karaoke"
|
join OptionalClipBumperNightCall6s |
Join |
Default "cut"
|
voice OptionalClipBumperNightCall6s |
string |
|
music OptionalClipBumperNightCall6s |
string |
|
format OptionalNightClockHook |
VideoFormat |
|
durationInFrames OptionalNightClockHook |
number |
|
from OptionalNightClockHook |
string |
|
via OptionalNightClockHook |
string |
|
to OptionalNightClockHook |
string |
|
suffix OptionalNightClockHook |
string |
|
line OptionalNightClockHook |
string |
|
highlight OptionalNightClockHook |
string |
|
words OptionalNightClockHook |
Word[] |
|
scene OptionalNightClockHook |
string |
|
focus OptionalNightClockHook |
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.
-
bec2a41897a3364d.webp
image/webp · 51.2 KB
-
ec116666afaa2e08.webp
image/webp · 54.7 KB