Skip to content

🎥 Make videos programmatically with React

Discard changes to packages/example/src/VideoTesting/index.tsx

Jonny Burgercb46c0e59d3f
diff --git a/packages/example/src/VideoTesting/index.tsx b/packages/example/src/VideoTesting/index.tsx
index 81a8aadd17..75c058fbe8 100644
--- a/packages/example/src/VideoTesting/index.tsx
+++ b/packages/example/src/VideoTesting/index.tsx
@@ -11,7 +11,7 @@ export const VideoTesting: React.FC<{
offthread: boolean;
}> = ({codec, offthread}) => {
const {durationInFrames} = useVideoConfig();
- const videoMp4 = require('../resources/framer.mp4');
+ const videoMp4 = staticFile('framermp4withoutfileextension');
const videoWebm = staticFile('framer.webm');
const Comp = offthread ? OffthreadVideo : Video;