| 20 | }); |
| 21 | |
| 22 | export interface TitledVideoProps { |
| 23 | videoSrc: string; |
| 24 | tagline: string; |
| 25 | // When the tagline starts animating in, in seconds from the start of the video. |
| 26 | taglineInSeconds: number; |
| 27 | // When the tagline should be fully gone. If omitted, it holds to the end of the clip. |
| 28 | taglineOutSeconds?: number; |
| 29 | // Pixels from the top of the frame where the tagline sits. Upper-third by default. |
| 30 | topPx?: number; |
| 31 | // Optional override for the font size. |
| 32 | fontSize?: number; |
| 33 | // Accent color used for the underline and the glow halo. |
| 34 | accentColor?: string; |
| 35 | } |
| 36 | |
| 37 | // Resolve asset path — handle URLs, absolute paths, and public/ relative paths. |
| 38 | // Mirrors the helper in Explainer.tsx so absolute Windows/Unix paths work. |
nothing calls this directly
no outgoing calls
no test coverage detected