Skip to content

🎥 Make videos programmatically with React

return to before

Jonny Burger3c25928ad5df
diff --git a/packages/example/src/AudioLambdaIssue.tsx b/packages/example/src/AudioLambdaIssue.tsx
deleted file mode 100644
index 5a63f88b55..0000000000
--- a/packages/example/src/AudioLambdaIssue.tsx
+++ /dev/null
@@ -1,15 +0,0 @@
-import {Audio, interpolate} from 'remotion';
-
-export const AudioLambdaIssue = () => {
- return (
- <div>
- <div>Hello World!</div>
- <Audio
- src="https://file-examples.com/storage/feddb42d8762894ad9bbbb0/2017/11/file_example_MP3_700KB.mp3"
- volume={(f) =>
- interpolate(f, [0, 120], [0, 1], {extrapolateLeft: 'clamp'})
- }
- />
- </div>
- );
-};
diff --git a/packages/example/src/Video.tsx b/packages/example/src/Video.tsx
index ee7ea897b1..422610f2ee 100644
--- a/packages/example/src/Video.tsx
+++ b/packages/example/src/Video.tsx
@@ -1,7 +1,6 @@
import React from 'react';
import {Composition, Folder, getInputProps, Still} from 'remotion';
import {TwentyTwoKHzAudio} from './22KhzAudio';
-import {AudioLambdaIssue} from './AudioLambdaIssue';
import BetaText from './BetaText';
import {ColorInterpolation} from './ColorInterpolation';
import {FontDemo} from './Fonts';
@@ -113,14 +112,6 @@ export const Index: React.FC = () => {
fps={30}
durationInFrames={100}
/>
- <Composition
- id="AudioLambdaIssue"
- component={AudioLambdaIssue}
- durationInFrames={120}
- fps={30}
- width={1920}
- height={1080}
- />
</Folder>
<Folder name="creatives">
<Composition
diff --git a/packages/example/testlambda.sh b/packages/example/testlambda.sh
index 850e4541a0..450d18d2fe 100644
--- a/packages/example/testlambda.sh
+++ b/packages/example/testlambda.sh
@@ -7,4 +7,4 @@ pnpx remotion lambda policies validate
pnpx remotion lambda functions rmall -f
pnpx remotion lambda functions deploy --memory=3000
pnpx remotion lambda sites create src/index.tsx --site-name=testbed
-pnpx remotion lambda render testbed AudioLambdaIssue --out-name=ggg.mp4 ggg.mp4 --log=verbose
+pnpx remotion lambda render testbed react-svg --out-name=ggg.mp4 ggg.mp4 --log=verbose