🎥 Make videos programmatically with React
Update index.tsx
Jonny Burger5a65205745b8
diff --git a/packages/example/src/VideoTesting/index.tsx b/packages/example/src/VideoTesting/index.tsxindex 75c058fbe8..81a8aadd17 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 = staticFile('framermp4withoutfileextension');+ const videoMp4 = require('../resources/framer.mp4');const videoWebm = staticFile('framer.webm');const Comp = offthread ? OffthreadVideo : Video;