Skip to content

🎥 Make videos programmatically with React

fix video texture import

Jonny Burger16d2c0944f22
diff --git a/packages/three/src/use-video-texture.ts b/packages/three/src/use-video-texture.ts
index e23693d845..e2a0181c88 100644
--- a/packages/three/src/use-video-texture.ts
+++ b/packages/three/src/use-video-texture.ts
@@ -1,7 +1,7 @@
import React, {useCallback, useState} from 'react';
import type {Video} from 'remotion';
import {continueRender, delayRender, useCurrentFrame} from 'remotion';
-import {VideoTexture} from 'three';
+import {VideoTexture} from 'three/src/textures/VideoTexture';
export type UseVideoTextureOptions = React.ComponentProps<typeof Video>;