🎥 Make videos programmatically with React
deploy homepage video
Jonny Burgera3ba8a017760
diff --git a/packages/docs/deploy-homepage-video.ts b/packages/docs/deploy-homepage-video.tsnew file mode 100644index 0000000000..e3cbac616f--- /dev/null+++ b/packages/docs/deploy-homepage-video.ts@@ -0,0 +1,17 @@+// bun deploy-homepage-video.ts+// Needs a .env+import type {AwsRegion} from '@remotion/lambda';+import {deploySite, getOrCreateBucket} from '@remotion/lambda';++const region: AwsRegion = 'us-west-2';++const {bucketName} = await getOrCreateBucket({+ region,+});++await deploySite({+ siteName: 'remotion-homepage',+ bucketName,+ entryPoint: './src/remotion/entry.ts',+ region,+});diff --git a/packages/docs/public/fire-0.5x.mp4 b/packages/docs/public/fire-0.5x.mp4new file mode 100644index 0000000000..d2353e0500Binary files /dev/null and b/packages/docs/public/fire-0.5x.mp4 differdiff --git a/packages/docs/public/fire-0.5x.webm b/packages/docs/public/fire-0.5x.webmnew file mode 100644index 0000000000..353f82996cBinary files /dev/null and b/packages/docs/public/fire-0.5x.webm differdiff --git a/packages/docs/public/fire-1x.mp4 b/packages/docs/public/fire-1x.mp4new file mode 100644index 0000000000..c63ca60a6eBinary files /dev/null and b/packages/docs/public/fire-1x.mp4 differdiff --git a/packages/docs/public/fire-1x.webm b/packages/docs/public/fire-1x.webmnew file mode 100644index 0000000000..0dde1ab309Binary files /dev/null and b/packages/docs/public/fire-1x.webm differdiff --git a/packages/docs/public/fire-2x.mp4 b/packages/docs/public/fire-2x.mp4new file mode 100644index 0000000000..539b380440Binary files /dev/null and b/packages/docs/public/fire-2x.mp4 differdiff --git a/packages/docs/public/fire-2x.webm b/packages/docs/public/fire-2x.webmnew file mode 100644index 0000000000..063ecb35fbBinary files /dev/null and b/packages/docs/public/fire-2x.webm differdiff --git a/packages/docs/public/melting-0.5x.mp4 b/packages/docs/public/melting-0.5x.mp4new file mode 100644index 0000000000..6580477532Binary files /dev/null and b/packages/docs/public/melting-0.5x.mp4 differdiff --git a/packages/docs/public/melting-0.5x.webm b/packages/docs/public/melting-0.5x.webmnew file mode 100644index 0000000000..b55e358096Binary files /dev/null and b/packages/docs/public/melting-0.5x.webm differdiff --git a/packages/docs/public/melting-1x.mp4 b/packages/docs/public/melting-1x.mp4new file mode 100644index 0000000000..3de3f3eb71Binary files /dev/null and b/packages/docs/public/melting-1x.mp4 differdiff --git a/packages/docs/public/melting-1x.webm b/packages/docs/public/melting-1x.webmnew file mode 100644index 0000000000..bd746d55bbBinary files /dev/null and b/packages/docs/public/melting-1x.webm differdiff --git a/packages/docs/public/melting-2x.mp4 b/packages/docs/public/melting-2x.mp4new file mode 100644index 0000000000..717e5cf375Binary files /dev/null and b/packages/docs/public/melting-2x.mp4 differdiff --git a/packages/docs/public/melting-2x.webm b/packages/docs/public/melting-2x.webmnew file mode 100644index 0000000000..123898955eBinary files /dev/null and b/packages/docs/public/melting-2x.webm differdiff --git a/packages/docs/public/partying-face-0.5x.mp4 b/packages/docs/public/partying-face-0.5x.mp4new file mode 100644index 0000000000..3cf97a8bcfBinary files /dev/null and b/packages/docs/public/partying-face-0.5x.mp4 differdiff --git a/packages/docs/public/partying-face-0.5x.webm b/packages/docs/public/partying-face-0.5x.webmnew file mode 100644index 0000000000..813deb2456Binary files /dev/null and b/packages/docs/public/partying-face-0.5x.webm differdiff --git a/packages/docs/public/partying-face-1x.mp4 b/packages/docs/public/partying-face-1x.mp4new file mode 100644index 0000000000..70ff4504a6Binary files /dev/null and b/packages/docs/public/partying-face-1x.mp4 differdiff --git a/packages/docs/public/partying-face-1x.webm b/packages/docs/public/partying-face-1x.webmnew file mode 100644index 0000000000..ec0fbd1ee5Binary files /dev/null and b/packages/docs/public/partying-face-1x.webm differdiff --git a/packages/docs/public/partying-face-2x.mp4 b/packages/docs/public/partying-face-2x.mp4new file mode 100644index 0000000000..a3c9c5d854Binary files /dev/null and b/packages/docs/public/partying-face-2x.mp4 differdiff --git a/packages/docs/public/partying-face-2x.webm b/packages/docs/public/partying-face-2x.webmnew file mode 100644index 0000000000..ccfa08e3c8Binary files /dev/null and b/packages/docs/public/partying-face-2x.webm differdiff --git a/packages/docs/src/remotion/HomepageVideo/Comp.tsx b/packages/docs/src/remotion/HomepageVideo/Comp.tsxindex 18e014ab81..fab32e3837 100644--- a/packages/docs/src/remotion/HomepageVideo/Comp.tsx+++ b/packages/docs/src/remotion/HomepageVideo/Comp.tsx@@ -22,10 +22,7 @@ export const getDataAndProps = async () => {).then((res) => res.json())) as Location;const trending = await fetch(- 'https://bugs.remotion.dev/trending?lat=' +- location.latitude +- '&lng=' +- location.longitude,+ `https://bugs.remotion.dev/trending?lat=${location.latitude}&lng=${location.longitude}`,).then((res) => res.json()).then((data) => {