Skip to content

World's first open-source, agentic video production system. 12 production pipelines, 100+ tools, 700+ agent skill and production-knowledge files. Turn your AI coding assistant into a full video production studio.

fix(remotion-composer): resolve videoSrc through resolveAsset in TalkingHead

Sakurao Yoshitatsu76871c7d6ba9
diff --git a/remotion-composer/src/TalkingHead.tsx b/remotion-composer/src/TalkingHead.tsx
index 05156e2a..43ff6df1 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<TalkingHeadProps> = ({
<AbsoluteFill style={{ backgroundColor: "#000" }}>
{/* Layer 1: Video background */}
<OffthreadVideo
- src={videoSrc}
+ src={resolveAsset(videoSrc)}
style={{ width: "100%", height: "100%", objectFit: "cover" }}
/>