Skip to content

🎥 Make videos programmatically with React

chore: remove static files from example folder

Arthur Dennerf451cac70452
diff --git a/packages/example/src/AudioTesting/cow-moo.ogg b/packages/example/src/AudioTesting/cow-moo.ogg
deleted file mode 100644
index 365f6364cf..0000000000
Binary files a/packages/example/src/AudioTesting/cow-moo.ogg and /dev/null differ
diff --git a/packages/example/src/AudioTesting/index.tsx b/packages/example/src/AudioTesting/index.tsx
index 0cbf8c61f8..565a81579d 100644
--- a/packages/example/src/AudioTesting/index.tsx
+++ b/packages/example/src/AudioTesting/index.tsx
@@ -1,10 +1,12 @@
import {Audio, interpolate, Sequence} from 'remotion';
+import music from './music.mp3';
const AudioTesting: React.FC = () => {
return (
<div>
<Sequence from={50} durationInFrames={100}>
<Audio
+ src={music}
volume={(f) =>
interpolate(f, [0, 50, 100], [0, 1, 0], {
extrapolateLeft: 'clamp',
@@ -12,9 +14,14 @@ const AudioTesting: React.FC = () => {
})
}
>
- {/* Serve this assets with `npm run serve` in the `example` folder */}
- <source src="http://127.0.0.1:8080/cow-moo.ogg" type="audio/ogg" />
- <source src="http://127.0.0.1:8080/kid-laugh.mp3" type="audio/mpeg" />
+ <source
+ src="https://res.cloudinary.com/arthurdenner/video/upload/v1632482233/Remotion/kid-laugh.mp3"
+ type="audio/mpeg"
+ />
+ <source
+ src="https://res.cloudinary.com/arthurdenner/video/upload/v1632482233/Remotion/cow-moo.ogg"
+ type="audio/ogg"
+ />
</Audio>
</Sequence>
</div>
diff --git a/packages/example/src/AudioTesting/kid-laugh.mp3 b/packages/example/src/AudioTesting/kid-laugh.mp3
deleted file mode 100644
index 5f88d5ff95..0000000000
Binary files a/packages/example/src/AudioTesting/kid-laugh.mp3 and /dev/null differ