diff --git a/src/components/nodes/EaseCurveNode.tsx b/src/components/nodes/EaseCurveNode.tsx index d752cccc..9e1b7c32 100644 --- a/src/components/nodes/EaseCurveNode.tsx +++ b/src/components/nodes/EaseCurveNode.tsx @@ -7,6 +7,7 @@ import { useWorkflowStore } from "@/store/workflowStore"; import { EaseCurveNodeData } from "@/types"; import { checkEncoderSupport } from "@/hooks/useStitchVideos"; import { useVideoBlobUrl } from "@/hooks/useVideoBlobUrl"; +import { useVideoAutoplay } from "@/hooks/useVideoAutoplay"; type EaseCurveNodeType = Node; @@ -19,6 +20,7 @@ export function EaseCurveNode({ id, data, selected }: NodeProps state.edges); const removeEdge = useWorkflowStore((state) => state.removeEdge); const videoBlobUrl = useVideoBlobUrl(nodeData.outputVideo ?? null); + const videoAutoplayRef = useVideoAutoplay(id, selected); // Check encoder support on mount useEffect(() => { @@ -182,9 +184,9 @@ export function EaseCurveNode({ id, data, selected }: NodeProps