Clip VSL Opener 45s 1
The first 45 seconds of a founder VSL (problem montage, the hook, the founder, what comes next, the button) on slow documentary crossfades; plays at the top of a consult or estimate page.
Use it in a prompt
Use the video/clip-vsl-opener-45s 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-vsl-opener-45s.tsx. - Import it and pass your copy and images (Props tab):
import { FRAMES } from "@/components/funneldna/video/clip-vsl-opener-45s"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/video/clip-vsl-opener-45s/component.tsx 107 lines
// When to use: The first 45 seconds of a founder VSL (problem montage, the hook, the founder, what comes next, the button) on slow documentary crossfades; plays at the top of a consult or estimate page.
import * as React from "react"
import { Audio, Sequence, interpolate } from "remotion"
import { CLAMP, Crossfade, VideoStage, type VideoFormat, type VideoMeta, type Word } from "../fx/video-kit"
import { ProblemMontage } from "./problem-montage"
import { HookKineticQuestion } from "./hook-kinetic-question"
import { FounderIntroCard } from "./founder-intro-card"
import { HookPhotoPush } from "./hook-photo-push"
import { CtaEndCard } from "./cta-end-card"
import { CaptionsBurned, type CaptionScene, type CaptionStyle } from "./captions-burned"
export const video = { fps: 30, durationInFrames: 1350, formats: ["vertical", "square", "landscape"], poster: 1340 } satisfies VideoMeta
/** The Live frames a storyboard may name. Clips import frames; they never copy them. */
export const FRAMES = {
"video/problem-montage": ProblemMontage,
"video/hook-kinetic-question": HookKineticQuestion,
"video/founder-intro-card": FounderIntroCard,
"video/hook-photo-push": HookPhotoPush,
"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/hook-kinetic-question", "video/hook-photo-push"])
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 already says the line. */
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 ClipVslOpener45sProps = {
format?: VideoFormat
durationInFrames?: number
storyboard?: StoryboardScene[]
timeline?: TimelineScene[]
/** Burned captions from the timeline; a boxed caption by default for a founder read. false = off. */
captions?: CaptionStyle | false
/** Crossfade length in frames between scenes; slow and documentary by default. */
crossfade?: number
/** Seconds the end card holds still after its last word. */
endHold?: number
voice?: string
music?: string
}
const FPS = 30
const LEAD = 0.15, INTRO = 0.6, BREATHE = 0.75, END_HOLD = 3, XF = 18
/** Scene starts and lengths in frames, and the voice lead (seconds) inside each scene. */
export function layout(storyboard: StoryboardScene[], timeline?: TimelineScene[], endHold = END_HOLD) {
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 ? endHold : 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). Crossfades overlap inside each scene's length, so they add nothing. */
export const clipDuration = (p: Pick<ClipVslOpener45sProps, "storyboard" | "timeline" | "endHold">) =>
layout(p.storyboard ?? [], p.timeline, p.endHold).reduce((n, s) => n + s.len, 0) || video.durationInFrames
export const calculateMetadata = ({ props }: { props: ClipVslOpener45sProps }) => ({ durationInFrames: clipDuration(props) })
/** A 45-second VSL opener: storyboard scenes on slow crossfades, boxed burned captions, optional voice and music. */
export function ClipVslOpener45s({ format = "vertical", durationInFrames, storyboard = [], timeline, captions = "box", crossfade = XF, endHold = END_HOLD, voice, music }: ClipVslOpener45sProps) {
const scenes = layout(storyboard, timeline, endHold)
const total = durationInFrames ?? clipDuration({ storyboard, timeline, endHold })
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 spoken = !!voice || scenes.some((s) => s.voice)
const bed = spoken ? 0.12 : 0.35
return (
<VideoStage format={format} tone="band">
{scenes.map((s, i) => {
const Frame = FRAMES[s.frame] as React.ComponentType<Record<string, unknown>>
const last = i === scenes.length - 1
const xf = Math.max(1, Math.min(crossfade, s.len))
const inner = <Frame {...s.props} format={format} durationInFrames={s.len} words={s.words} {...(s.frame === "video/cta-end-card" ? { holdFrames: Math.round(endHold * FPS) } : {})} />
return (
<Sequence key={i} from={s.from} durationInFrames={s.len + (last ? 0 : xf)} layout="none">
<Crossfade frames={xf} first={i === 0} out={last ? undefined : s.len}>{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 - 50, total], [0, bed, bed, 0], CLAMP)} />}
</VideoStage>
)
}
export default ClipVslOpener45s
pieces/video/clip-vsl-opener-45s/specimen.tsx 78 lines
import * as React from "react"
import lowBid from "../assets/79ce3baaea1be6a6.webp"
import changeOrders from "../assets/96bb129629c4f4e7.webp"
import mortgage from "../assets/2e781dbb8e10916f.webp"
import founder from "../assets/c4b7f6bc5c49ef8f.webp"
import plans from "../assets/148cf8cd81acf6a8.webp"
import walkThrough from "../assets/ddf7446a254e2065.webp"
import { slot } from "../../slots"
import { VideoPreview, type VideoFormat, type Word } from "../../fx/video-kit"
import { ClipVslOpener45s, video, type ClipVslOpener45sProps, type StoryboardScene, type TimelineScene } from "../clip-vsl-opener-45s"
export const states = ["vertical", "square", "landscape"]
/**
* Sample voice timings at an unhurried founder read: the words spread across `speech` seconds by length, with longer
* pauses at punctuation, and `tail` seconds of silence after the last word so the picture can land.
*/
function voiced(text: string, speech: number, tail = 0.6): TimelineScene {
const list = text.split(" ")
const core = (w: string) => 2 + w.replace(/[^a-z0-9]/gi, "").length
const weight = (w: string) => core(w) + (/[,.?!:]$/.test(w) ? 5 : 0)
const sum = list.reduce((n, w) => n + weight(w), 0), span = speech - tail
let t = 0
const words: Word[] = list.map((w) => {
const d = (weight(w) / sum) * span, s = t
t += d
return { w, s: +s.toFixed(3), e: +(s + (core(w) / weight(w)) * d * 0.9).toFixed(3) }
})
return { speech, words }
}
// Fictional sample brand: Brenwick Builders, a home remodeller. Every fact stands in for the estimate page's own.
// Each scene's props follow its Live frame's Props type exactly (problem-montage items are { image, phrase, pain };
// hook-photo-push takes `headline`; founder-intro-card takes name, credential, quote, presenter).
export function sampleStoryboard(low: string, orders: string, second: string, presenter: string, plan: string, room: string): StoryboardScene[] {
return [
{ frame: "video/problem-montage", seconds: 12, props: {
items: [
{ image: low, phrase: "The low bid", pain: "low bid" },
{ image: orders, phrase: "The change orders", pain: "change orders" },
{ image: second, phrase: "The second mortgage", pain: "second mortgage" },
],
// The job-site stills keep their own colours under the band scrim, never a full theme wash.
treatment: "natural",
} },
{ frame: "video/hook-kinetic-question", seconds: 6, props: { line: "Most bids change once the walls come down.", highlight: "once the walls come down.", tone: "band", scene: low, treatment: "duotone" } },
{ frame: "video/founder-intro-card", seconds: 10, props: { name: "Cal Brenwick", credential: "31 years remodelling", quote: "I price the job after I've walked every room.", presenter } },
{ frame: "video/hook-photo-push", seconds: 9, props: { headline: "Next: how one written, fixed price works.", highlight: "one written, fixed price", image: plan } },
{ frame: "video/cta-end-card", seconds: 8, props: { line: "Walk the room. Get one price.", button: "Book a walk-through", terms: "Written plan · one price before we start", brand: "Brenwick Builders", scene: room } },
]
}
export const timeline: TimelineScene[] = [
voiced("It starts with the low bid. Then come the change orders. Then the second mortgage nobody planned for.", 10.65, 1.6),
voiced("Most bids change once the walls come down.", 5.1, 1.3),
voiced("I'm Cal Brenwick. Thirty-one years remodelling homes, and I price the job after I've walked every room.", 9.1, 1.2),
voiced("Next: how one written, fixed price works.", 8.1, 3.4),
voiced("Walk the room. Get one price. Book a walk-through.", 4.85, 0.6),
]
export const sample: ClipVslOpener45sProps = {
storyboard: sampleStoryboard(lowBid, changeOrders, mortgage, founder, plans, walkThrough),
timeline,
captions: "box",
}
/** clipDuration(sample): scenes start at 0, 360, 540, 840 and 1110 (layout() from the timeline above); 45 s. */
export const durationInFrames = 1350
/** First montage phrase readable with the sound off, montage mid, hook swiped, founder quote, the promise landed, button in, final hold. */
export const keyframes = [20, 200, 510, 720, 1000, 1200, 1349]
/** The sample business in its own colours and type (sample-brands.json); Original and every preset stay one click away. */
export const sampleBrand = { name: "Brenwick Builders", theme: "light", background: "#f5f7fc", colors: ["#2c4bdb", "#f0623f"], fonts: ["Roboto Slab", "Roboto"], button: "square-caps" }
export default function ClipVslOpener45sSpecimen({ state = "vertical" }: { state?: string }) {
const props = {
...sample,
storyboard: sampleStoryboard(slot("scene", lowBid), slot("scene", changeOrders), slot("scene", mortgage), slot("presenter-cutout", founder), slot("scene", plans), slot("scene", walkThrough)),
}
return <VideoPreview component={ClipVslOpener45s} props={props} format={state as VideoFormat} meta={video} durationInFrames={durationInFrames} />
}
| Name | Type | Details |
|---|---|---|
layout |
StoryboardScene[] |
|
format OptionalClipVslOpener45s |
VideoFormat |
Default "vertical"
|
durationInFrames OptionalClipVslOpener45s |
number |
|
storyboard OptionalClipVslOpener45s |
StoryboardScene[] |
Default []
|
timeline OptionalClipVslOpener45s |
TimelineScene[] |
|
captions OptionalClipVslOpener45s |
CaptionStyle | false |
Default "box"
|
crossfade OptionalClipVslOpener45s |
number |
Default XF
|
endHold OptionalClipVslOpener45s |
number |
Default END_HOLD
|
voice OptionalClipVslOpener45s |
string |
|
music OptionalClipVslOpener45s |
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.
presenter-cutout- The presenter on a transparent background.
scene- A wide atmosphere photo behind or beside the copy.
-
148cf8cd81acf6a8.webp
image/webp · 46.8 KB
-
2e781dbb8e10916f.webp
image/webp · 54.1 KB
-
79ce3baaea1be6a6.webp
image/webp · 95.5 KB
-
96bb129629c4f4e7.webp
image/webp · 98.2 KB
-
bec2a41897a3364d.webp
image/webp · 51.2 KB
-
c4b7f6bc5c49ef8f.webp
image/webp · 125 KB
-
ddf7446a254e2065.webp
image/webp · 313 KB