Skip to content

🎥 Make videos programmatically with React

fix links

Jonny Burger6169c2bda76e
diff --git a/packages/docs/vercel.json b/packages/docs/vercel.json
new file mode 100644
index 0000000000..43d43ed2b5
--- /dev/null
+++ b/packages/docs/vercel.json
@@ -0,0 +1,356 @@
+{
+ "headers": [
+ {
+ "source": "/img/gt-planar(.*)",
+ "headers": [
+ {"key": "Access-Control-Allow-Credentials", "value": "true"},
+ {"key": "Access-Control-Allow-Origin", "value": "*"},
+ {
+ "key": "Access-Control-Allow-Methods",
+ "value": "GET,OPTIONS,PATCH,DELETE,POST,PUT"
+ },
+ {
+ "key": "Access-Control-Allow-Headers",
+ "value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"
+ }
+ ]
+ }
+ ],
+ "redirects": [
+ {
+ "source": "/changelog",
+ "destination": "https://github.com/remotion-dev/remotion/releases",
+ "permanent": false
+ },
+ {
+ "source": "/discord",
+ "destination": "https://discord.gg/6VzzNDwUwV",
+ "permanent": false
+ },
+ {
+ "source": "/booking",
+ "destination": "https://cal.com/remotion",
+ "permanent": false
+ },
+ {
+ "source": "/coc",
+ "destination": "https://github.com/remotion-dev/remotion/blob/main/CODE-OF-CONDUCT.md",
+ "permanent": false
+ },
+ {
+ "source": "/license",
+ "destination": "https://github.com/remotion-dev/remotion/blob/main/LICENSE.md",
+ "permanent": false
+ },
+ {
+ "source": "/timeout",
+ "destination": "/docs/timeout",
+ "permanent": false
+ },
+ {
+ "source": "/acknowledgements",
+ "destination": "/docs/acknowledgements",
+ "permanent": false
+ },
+ {
+ "source": "/issue",
+ "destination": "https://github.com/remotion-dev/remotion/issues/new/choose",
+ "permanent": false
+ },
+ {
+ "source": "/skia",
+ "destination": "/docs/skia",
+ "permanent": false
+ },
+ {
+ "source": "/gif",
+ "destination": "/docs/gif",
+ "permanent": false
+ },
+ {
+ "source": "/lottie",
+ "destination": "/docs/lottie",
+ "permanent": false
+ },
+ {
+ "source": "/paths",
+ "destination": "/docs/paths",
+ "permanent": false
+ },
+ {
+ "source": "/shapes",
+ "destination": "/docs/shapes",
+ "permanent": false
+ },
+ {
+ "source": "/api",
+ "destination": "/docs/api",
+ "permanent": false
+ },
+ {
+ "source": "/terminology",
+ "destination": "/docs/terminology",
+ "permanent": false
+ },
+ {
+ "source": "/hacktoberfest",
+ "destination": "https://github.com/remotion-dev/remotion/issues/1365",
+ "permanent": false
+ },
+ {
+ "source": "/motion-blur",
+ "destination": "/docs/motion-blur",
+ "permanent": false
+ },
+ {
+ "source": "/noise",
+ "destination": "/docs/noise",
+ "permanent": false
+ },
+ {
+ "source": "/docs/get-audio-duration",
+ "destination": "/docs/get-audio-duration-in-seconds",
+ "permanent": true
+ },
+ {
+ "source": "/docs/get-compositions",
+ "destination": "/docs/renderer/get-compositions",
+ "permanent": true
+ },
+ {
+ "source": "/docs/stitch-frames-to-video",
+ "destination": "/docs/renderer/stitch-frames-to-video",
+ "permanent": true
+ },
+ {
+ "source": "/docs/render-still",
+ "destination": "/docs/renderer/render-still",
+ "permanent": true
+ },
+ {
+ "source": "/docs/render-frames",
+ "destination": "/docs/renderer/render-frames",
+ "permanent": true
+ },
+ {
+ "source": "/docs/motion-blur/motion-blur",
+ "destination": "/docs/motion-blur/trail",
+ "permanent": true
+ },
+ {
+ "source": "/support",
+ "destination": "/docs/support",
+ "permanent": true
+ },
+ {
+ "source": "/docs/player/api",
+ "destination": "/docs/player/player",
+ "permanent": true
+ },
+ {
+ "source": "/github",
+ "destination": "https://github.com/remotion-dev/remotion",
+ "permanent": false
+ },
+ {
+ "source": "/brand",
+ "destination": "https://github.com/remotion-dev/logo",
+ "permanent": false
+ },
+ {
+ "source": "/docs/lottie/after-effects",
+ "destination": "/docs/after-effects",
+ "permanent": false
+ },
+ {
+ "source": "/docs/miscellaneous/render-all",
+ "destination": "docs/render-all",
+ "permanent": false
+ },
+ {
+ "source": "/docs/overlays",
+ "destination": "/docs/overlay",
+ "permanent": false
+ },
+ {
+ "source": "/docs/cli/preview",
+ "destination": "/docs/cli/studio",
+ "permanent": false
+ },
+ {
+ "source": "/links",
+ "destination": "https://linktr.ee/remotion",
+ "permanent": false
+ },
+ {
+ "source": "/contributing",
+ "destination": "https://www.remotion.dev/docs/contributing",
+ "permanent": false
+ },
+ {
+ "source": "/resources",
+ "destination": "https://www.remotion.dev/docs/resources",
+ "permanent": false
+ },
+ {
+ "source": "/rive",
+ "destination": "https://www.remotion.dev/docs/rive",
+ "permanent": false
+ },
+ {
+ "source": "/zod-types",
+ "destination": "https://www.remotion.dev/docs/zod-types",
+ "permanent": false
+ },
+ {
+ "source": "/cloudrun",
+ "destination": "https://www.remotion.dev/docs/cloudrun",
+ "permanent": false
+ },
+ {
+ "source": "/layout-utils",
+ "destination": "https://www.remotion.dev/docs/layout-utils",
+ "permanent": false
+ },
+ {
+ "source": "/animation-utils",
+ "destination": "https://www.remotion.dev/docs/animation-utils",
+ "permanent": false
+ },
+ {
+ "source": "/get-help",
+ "destination": "https://www.remotion.dev/docs/get-help",
+ "permanent": false
+ },
+ {
+ "source": "/help",
+ "destination": "https://www.remotion.dev/docs/get-help",
+ "permanent": false
+ },
+ {
+ "source": "/native",
+ "destination": "https://remotion.dev/docs/react-native",
+ "permanent": false
+ },
+ {
+ "source": "/docs/parametrized-rendering",
+ "destination": "https://www.remotion.dev/docs/parameterized-rendering",
+ "permanent": false
+ },
+ {
+ "source": "/business",
+ "destination": "https://github.com/orgs/remotion-dev/projects/10",
+ "permanent": false
+ },
+ {
+ "source": "/docs/thorium-browser",
+ "destination": "/docs/miscellaneous/thorium-browser",
+ "permanent": false
+ },
+ {
+ "source": "/youtube",
+ "destination": "https://youtube.com/@remotion_dev",
+ "permanent": false
+ },
+ {
+ "source": "/bun",
+ "destination": "/docs/bun",
+ "permanent": false
+ },
+ {
+ "source": "/bounties",
+ "destination": "/docs/contributing/bounty",
+ "permanent": false
+ },
+ {
+ "source": "/transitions",
+ "destination": "/docs/transitioning",
+ "permanent": false
+ },
+ {
+ "source": "/repro",
+ "destination": "https://stackblitz.com/fork/github/remotion-dev/template-helloworld",
+ "permanent": false
+ },
+ {
+ "source": "/docs/timeline",
+ "destination": "/docs/studio",
+ "permanent": false
+ },
+ {
+ "source": "/studio",
+ "destination": "/docs/studio",
+ "permanent": false
+ },
+ {
+ "source": "/security",
+ "destination": "/docs/security",
+ "permanent": false
+ },
+ {
+ "source": "/standalone",
+ "destination": "/docs/standalone",
+ "permanent": false
+ },
+ {
+ "source": "/docs/deploy-studio",
+ "destination": "/docs/studio/deploy-server",
+ "permanent": false
+ },
+ {
+ "source": "/blog/faster-lambda-renders",
+ "destination": "/blog/faster-lambda",
+ "permanent": false
+ },
+ {
+ "source": "/docs/miscellaneous/thorium-browser",
+ "destination": "/docs/miscellaneous/chrome-headless-shell",
+ "permanent": false
+ },
+ {
+ "source": "/chrome-headless-shell",
+ "destination": "/docs/miscellaneous/chrome-headless-shell",
+ "permanent": false
+ },
+ {
+ "source": "/media-parser",
+ "destination": "/docs/media-parser",
+ "permanent": false
+ },
+ {
+ "source": "/docs/chrome-headless-shell",
+ "destination": "/docs/miscellaneous/chrome-headless-shell",
+ "permanent": false
+ },
+ {
+ "source": "/recorder",
+ "destination": "/docs/recorder",
+ "permanent": false
+ },
+ {
+ "source": "/docs/miscellaneous/snippets/adding-animations",
+ "destination": "/docs/animation-math",
+ "permanent": false
+ },
+ {
+ "source": "/bbb.webm",
+ "destination": "https://upload.wikimedia.org/wikipedia/commons/transcoded/c/c0/Big_Buck_Bunny_4K.webm/Big_Buck_Bunny_4K.webm.720p.vp9.webm",
+ "permanent": false
+ },
+ {
+ "source": "/bbb.mp4",
+ "destination": "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
+ "permanent": false
+ },
+ {
+ "source": "/leads",
+ "destination": "https://github.com/orgs/remotion-dev/projects/15/views/1",
+ "permanent": false
+ },
+ {
+ "source": "/docs/snippets/fps-converter",
+ "destination": "/docs/multiple-fps",
+ "permanent": false
+ }
+ ]
+}
diff --git a/vercel.json b/vercel.json
index 43d43ed2b5..e69de29bb2 100644
--- a/vercel.json
+++ b/vercel.json
@@ -1,356 +0,0 @@
-{
- "headers": [
- {
- "source": "/img/gt-planar(.*)",
- "headers": [
- {"key": "Access-Control-Allow-Credentials", "value": "true"},
- {"key": "Access-Control-Allow-Origin", "value": "*"},
- {
- "key": "Access-Control-Allow-Methods",
- "value": "GET,OPTIONS,PATCH,DELETE,POST,PUT"
- },
- {
- "key": "Access-Control-Allow-Headers",
- "value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"
- }
- ]
- }
- ],
- "redirects": [
- {
- "source": "/changelog",
- "destination": "https://github.com/remotion-dev/remotion/releases",
- "permanent": false
- },
- {
- "source": "/discord",
- "destination": "https://discord.gg/6VzzNDwUwV",
- "permanent": false
- },
- {
- "source": "/booking",
- "destination": "https://cal.com/remotion",
- "permanent": false
- },
- {
- "source": "/coc",
- "destination": "https://github.com/remotion-dev/remotion/blob/main/CODE-OF-CONDUCT.md",
- "permanent": false
- },
- {
- "source": "/license",
- "destination": "https://github.com/remotion-dev/remotion/blob/main/LICENSE.md",
- "permanent": false
- },
- {
- "source": "/timeout",
- "destination": "/docs/timeout",
- "permanent": false
- },
- {
- "source": "/acknowledgements",
- "destination": "/docs/acknowledgements",
- "permanent": false
- },
- {
- "source": "/issue",
- "destination": "https://github.com/remotion-dev/remotion/issues/new/choose",
- "permanent": false
- },
- {
- "source": "/skia",
- "destination": "/docs/skia",
- "permanent": false
- },
- {
- "source": "/gif",
- "destination": "/docs/gif",
- "permanent": false
- },
- {
- "source": "/lottie",
- "destination": "/docs/lottie",
- "permanent": false
- },
- {
- "source": "/paths",
- "destination": "/docs/paths",
- "permanent": false
- },
- {
- "source": "/shapes",
- "destination": "/docs/shapes",
- "permanent": false
- },
- {
- "source": "/api",
- "destination": "/docs/api",
- "permanent": false
- },
- {
- "source": "/terminology",
- "destination": "/docs/terminology",
- "permanent": false
- },
- {
- "source": "/hacktoberfest",
- "destination": "https://github.com/remotion-dev/remotion/issues/1365",
- "permanent": false
- },
- {
- "source": "/motion-blur",
- "destination": "/docs/motion-blur",
- "permanent": false
- },
- {
- "source": "/noise",
- "destination": "/docs/noise",
- "permanent": false
- },
- {
- "source": "/docs/get-audio-duration",
- "destination": "/docs/get-audio-duration-in-seconds",
- "permanent": true
- },
- {
- "source": "/docs/get-compositions",
- "destination": "/docs/renderer/get-compositions",
- "permanent": true
- },
- {
- "source": "/docs/stitch-frames-to-video",
- "destination": "/docs/renderer/stitch-frames-to-video",
- "permanent": true
- },
- {
- "source": "/docs/render-still",
- "destination": "/docs/renderer/render-still",
- "permanent": true
- },
- {
- "source": "/docs/render-frames",
- "destination": "/docs/renderer/render-frames",
- "permanent": true
- },
- {
- "source": "/docs/motion-blur/motion-blur",
- "destination": "/docs/motion-blur/trail",
- "permanent": true
- },
- {
- "source": "/support",
- "destination": "/docs/support",
- "permanent": true
- },
- {
- "source": "/docs/player/api",
- "destination": "/docs/player/player",
- "permanent": true
- },
- {
- "source": "/github",
- "destination": "https://github.com/remotion-dev/remotion",
- "permanent": false
- },
- {
- "source": "/brand",
- "destination": "https://github.com/remotion-dev/logo",
- "permanent": false
- },
- {
- "source": "/docs/lottie/after-effects",
- "destination": "/docs/after-effects",
- "permanent": false
- },
- {
- "source": "/docs/miscellaneous/render-all",
- "destination": "docs/render-all",
- "permanent": false
- },
- {
- "source": "/docs/overlays",
- "destination": "/docs/overlay",
- "permanent": false
- },
- {
- "source": "/docs/cli/preview",
- "destination": "/docs/cli/studio",
- "permanent": false
- },
- {
- "source": "/links",
- "destination": "https://linktr.ee/remotion",
- "permanent": false
- },
- {
- "source": "/contributing",
- "destination": "https://www.remotion.dev/docs/contributing",
- "permanent": false
- },
- {
- "source": "/resources",
- "destination": "https://www.remotion.dev/docs/resources",
- "permanent": false
- },
- {
- "source": "/rive",
- "destination": "https://www.remotion.dev/docs/rive",
- "permanent": false
- },
- {
- "source": "/zod-types",
- "destination": "https://www.remotion.dev/docs/zod-types",
- "permanent": false
- },
- {
- "source": "/cloudrun",
- "destination": "https://www.remotion.dev/docs/cloudrun",
- "permanent": false
- },
- {
- "source": "/layout-utils",
- "destination": "https://www.remotion.dev/docs/layout-utils",
- "permanent": false
- },
- {
- "source": "/animation-utils",
- "destination": "https://www.remotion.dev/docs/animation-utils",
- "permanent": false
- },
- {
- "source": "/get-help",
- "destination": "https://www.remotion.dev/docs/get-help",
- "permanent": false
- },
- {
- "source": "/help",
- "destination": "https://www.remotion.dev/docs/get-help",
- "permanent": false
- },
- {
- "source": "/native",
- "destination": "https://remotion.dev/docs/react-native",
- "permanent": false
- },
- {
- "source": "/docs/parametrized-rendering",
- "destination": "https://www.remotion.dev/docs/parameterized-rendering",
- "permanent": false
- },
- {
- "source": "/business",
- "destination": "https://github.com/orgs/remotion-dev/projects/10",
- "permanent": false
- },
- {
- "source": "/docs/thorium-browser",
- "destination": "/docs/miscellaneous/thorium-browser",
- "permanent": false
- },
- {
- "source": "/youtube",
- "destination": "https://youtube.com/@remotion_dev",
- "permanent": false
- },
- {
- "source": "/bun",
- "destination": "/docs/bun",
- "permanent": false
- },
- {
- "source": "/bounties",
- "destination": "/docs/contributing/bounty",
- "permanent": false
- },
- {
- "source": "/transitions",
- "destination": "/docs/transitioning",
- "permanent": false
- },
- {
- "source": "/repro",
- "destination": "https://stackblitz.com/fork/github/remotion-dev/template-helloworld",
- "permanent": false
- },
- {
- "source": "/docs/timeline",
- "destination": "/docs/studio",
- "permanent": false
- },
- {
- "source": "/studio",
- "destination": "/docs/studio",
- "permanent": false
- },
- {
- "source": "/security",
- "destination": "/docs/security",
- "permanent": false
- },
- {
- "source": "/standalone",
- "destination": "/docs/standalone",
- "permanent": false
- },
- {
- "source": "/docs/deploy-studio",
- "destination": "/docs/studio/deploy-server",
- "permanent": false
- },
- {
- "source": "/blog/faster-lambda-renders",
- "destination": "/blog/faster-lambda",
- "permanent": false
- },
- {
- "source": "/docs/miscellaneous/thorium-browser",
- "destination": "/docs/miscellaneous/chrome-headless-shell",
- "permanent": false
- },
- {
- "source": "/chrome-headless-shell",
- "destination": "/docs/miscellaneous/chrome-headless-shell",
- "permanent": false
- },
- {
- "source": "/media-parser",
- "destination": "/docs/media-parser",
- "permanent": false
- },
- {
- "source": "/docs/chrome-headless-shell",
- "destination": "/docs/miscellaneous/chrome-headless-shell",
- "permanent": false
- },
- {
- "source": "/recorder",
- "destination": "/docs/recorder",
- "permanent": false
- },
- {
- "source": "/docs/miscellaneous/snippets/adding-animations",
- "destination": "/docs/animation-math",
- "permanent": false
- },
- {
- "source": "/bbb.webm",
- "destination": "https://upload.wikimedia.org/wikipedia/commons/transcoded/c/c0/Big_Buck_Bunny_4K.webm/Big_Buck_Bunny_4K.webm.720p.vp9.webm",
- "permanent": false
- },
- {
- "source": "/bbb.mp4",
- "destination": "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
- "permanent": false
- },
- {
- "source": "/leads",
- "destination": "https://github.com/orgs/remotion-dev/projects/15/views/1",
- "permanent": false
- },
- {
- "source": "/docs/snippets/fps-converter",
- "destination": "/docs/multiple-fps",
- "permanent": false
- }
- ]
-}