Skip to content

🎥 Make videos programmatically with React

Fix CI failures after moving public assets to remotion.media

Jonny Burger1d9ac1b6e5e0
diff --git a/packages/example/src/AudioTesting/index.tsx b/packages/example/src/AudioTesting/index.tsx
index ad15a6af87..8c3dc4b689 100644
--- a/packages/example/src/AudioTesting/index.tsx
+++ b/packages/example/src/AudioTesting/index.tsx
@@ -1,10 +1,6 @@
-import {getStaticFiles} from '@remotion/studio';
import {Html5Audio, interpolate, Sequence} from 'remotion';
const AudioTesting: React.FC = () => {
- const files = getStaticFiles();
- const music = files.find((f) => f.name.startsWith('music.mp3'));
-
return (
<div>
<Sequence from={100} durationInFrames={55.995}>
@@ -12,7 +8,7 @@ const AudioTesting: React.FC = () => {
loop
trimBefore={100}
trimAfter={200}
- src={music?.src}
+ src="https://remotion.media/music.mp3"
volume={(f) =>
interpolate(f, [0, 50, 100], [0, 1, 0], {
extrapolateLeft: 'clamp',
diff --git a/turbo.json b/turbo.json
index a8cb25d9bf..209c0fd01f 100644
--- a/turbo.json
+++ b/turbo.json
@@ -43,6 +43,11 @@
"outputs": ["dist"],
"outputLogs": "new-only"
},
+ "@remotion/example-videos#make": {
+ "dependsOn": ["^make"],
+ "outputs": ["dist", "node_modules/.videos/**"],
+ "outputLogs": "new-only"
+ },
"@remotion/example#bundle": {
"dependsOn": ["^make", "make"],
"outputs": ["build", "./node_modules/.cache"],