Skip to content

🎥 Make videos programmatically with React

video with no file extension

Jonny Burger6228af52a560
diff --git a/packages/example/public/framer.mp4 b/packages/example/public/framer
similarity index 100%
rename from packages/example/public/framer.mp4
rename to packages/example/public/framer
diff --git a/packages/example/src/VideoTesting/index.tsx b/packages/example/src/VideoTesting/index.tsx
index ff978dacbb..a98ff59de4 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('./framer.mp4');
+ const videoMp4 = staticFile('./framer');
const videoWebm = staticFile('./framer.webm');
const Comp = offthread ? OffthreadVideo : Video;