From 76871c7d6ba92c7bf1d0b485063bbd5ba061b711 Mon Sep 17 00:00:00 2001 From: Sakurao Yoshitatsu Date: Sat, 15 Aug 2026 22:12:36 +0900 Subject: [PATCH] fix(remotion-composer): resolve videoSrc through resolveAsset in TalkingHead TalkingHead passes videoSrc straight to OffthreadVideo, so relative asset paths (e.g. "clips/source.mp4" under public/) fail to load at render time. Every other composition that accepts a video source (TitledVideo, Explainer, CinematicRenderer) already routes it through resolveAsset; this brings TalkingHead in line with them. Verified by rendering the TalkingHead composition with a public/-relative videoSrc before (load failure) and after (renders) this change. --- remotion-composer/src/TalkingHead.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/remotion-composer/src/TalkingHead.tsx b/remotion-composer/src/TalkingHead.tsx index 05156e2a3..43ff6df17 100644 --- a/remotion-composer/src/TalkingHead.tsx +++ b/remotion-composer/src/TalkingHead.tsx @@ -7,6 +7,7 @@ import { useVideoConfig, } from "remotion"; import { CaptionOverlay, WordCaption } from "./components/CaptionOverlay"; +import { resolveAsset } from "./lib/resolveAsset"; import { TextCard } from "./components/TextCard"; import { StatCard } from "./components/StatCard"; import { CalloutBox } from "./components/CalloutBox"; @@ -318,7 +319,7 @@ export const TalkingHead: React.FC = ({ {/* Layer 1: Video background */}