Skip to content

🎥 Make videos programmatically with React

update docs URL

Jonny Burger8ba25f6913af
diff --git a/packages/docs/_redirects b/packages/docs/_redirects
index ce27ff32ca..fb281c738f 100644
--- a/packages/docs/_redirects
+++ b/packages/docs/_redirects
@@ -1 +1 @@
-https://remotion-lambda-alpha.netlify.app/* https://remotion-3.vercel.app/:splat 301!
+https://remotion-lambda-alpha.netlify.app/* https://v3.remotion.dev/:splat 301!
diff --git a/packages/lambda/remotionlambda.zip b/packages/lambda/remotionlambda.zip
index 09fec81dec..3cacda1034 100644
Binary files a/packages/lambda/remotionlambda.zip and b/packages/lambda/remotionlambda.zip differ
diff --git a/packages/lambda/src/api/delete-function.ts b/packages/lambda/src/api/delete-function.ts
index be51646196..1e4d309e1c 100644
--- a/packages/lambda/src/api/delete-function.ts
+++ b/packages/lambda/src/api/delete-function.ts
@@ -9,7 +9,7 @@ export type DeleteFunctionInput = {
/**
* @description Deletes a function from AWS Lambda.
- * @link https://remotion-3.vercel.app/docs/lambda/deletefunction
+ * @link https://v3.remotion.dev/docs/lambda/deletefunction
* @param options.region The region the function was deployed to.
* @param options.functionName The name of the function.
* @returns {Promise<undefined>} Nothing. Throws if the function failed to delete.
diff --git a/packages/lambda/src/api/delete-site.ts b/packages/lambda/src/api/delete-site.ts
index 665365fbdd..e79741a0bc 100644
--- a/packages/lambda/src/api/delete-site.ts
+++ b/packages/lambda/src/api/delete-site.ts
@@ -18,7 +18,7 @@ export type DeleteSiteOutput = {
/**
*
* @description Deletes a deployed site from your S3 bucket. The opposite of deploySite().
- * @link https://remotion-3.vercel.app/docs/lambda/deletesite
+ * @link https://v3.remotion.dev/docs/lambda/deletesite
* @param options.bucketName The S3 bucket name where the site resides in.
* @param options.siteName The ID of the site that you want to delete.
* @param {AwsRegion} options.region The region in where the S3 bucket resides in.
diff --git a/packages/lambda/src/api/deploy-function.ts b/packages/lambda/src/api/deploy-function.ts
index ca77097e3b..f9c5f55ecd 100644
--- a/packages/lambda/src/api/deploy-function.ts
+++ b/packages/lambda/src/api/deploy-function.ts
@@ -22,7 +22,7 @@ export type DeployFunctionOutput = {
/**
* @description Creates an AWS Lambda function in your account that will be able to render a video in the cloud.
- * @link https://remotion-3.vercel.app/docs/lambda/deployfunction
+ * @link https://v3.remotion.dev/docs/lambda/deployfunction
* @param options.createCloudWatchLogGroup Whether you'd like to create a CloudWatch Log Group to store the logs for this function.
* @param options.region The region you want to deploy your function to.
* @param options.timeoutInSeconds After how many seconds the lambda function should be killed if it does not end itself.
diff --git a/packages/lambda/src/api/deploy-site.ts b/packages/lambda/src/api/deploy-site.ts
index b14d6193b4..ae55c5a78b 100644
--- a/packages/lambda/src/api/deploy-site.ts
+++ b/packages/lambda/src/api/deploy-site.ts
@@ -32,7 +32,7 @@ export type DeploySiteOutput = Promise<{
/**
* @description Deploys a Remotion project to an S3 bucket to prepare it for rendering on AWS Lambda.
- * @link https://remotion-3.vercel.app/docs/lambda/deploysite
+ * @link https://v3.remotion.dev/docs/lambda/deploysite
* @param {AwsRegion} params.region The region in which the S3 bucket resides in.
* @param {string} params.entryPoint An absolute path to the entry file of your Remotion project.
* @param {string} params.bucketName The name of the bucket to deploy your project into.
diff --git a/packages/lambda/src/api/estimate-price.ts b/packages/lambda/src/api/estimate-price.ts
index b1783936ad..0312b94da9 100644
--- a/packages/lambda/src/api/estimate-price.ts
+++ b/packages/lambda/src/api/estimate-price.ts
@@ -11,7 +11,7 @@ export type EstimatePriceInput = {
/**
*
* @description Calculates the AWS costs incurred for AWS Lambda given the region, execution duration and memory size.
- * @link https://remotion-3.vercel.app/docs/lambda/estimateprice
+ * @link https://v3.remotion.dev/docs/lambda/estimateprice
* @returns {number} Price in USD
*/
export const estimatePrice = ({
diff --git a/packages/lambda/src/api/get-function-info.ts b/packages/lambda/src/api/get-function-info.ts
index 1ef5a6c511..3c140a28a9 100644
--- a/packages/lambda/src/api/get-function-info.ts
+++ b/packages/lambda/src/api/get-function-info.ts
@@ -19,7 +19,7 @@ export type GetFunctionInfoInput = {
/**
* @description Given a region and function name, returns information about the function such as version, memory size and timeout.
- * @link https://remotion-3.vercel.app/docs/lambda/getfunctioninfo
+ * @link https://v3.remotion.dev/docs/lambda/getfunctioninfo
* @param {AwsRegion} options.region The region in which the function resides in.
* @param {string} options.functionName The name of the function
* @return {Promise<FunctionInfo>} Promise resolving to information about the function.
diff --git a/packages/lambda/src/api/get-functions.ts b/packages/lambda/src/api/get-functions.ts
index 7021f4b15b..a8560d7ae0 100644
--- a/packages/lambda/src/api/get-functions.ts
+++ b/packages/lambda/src/api/get-functions.ts
@@ -14,7 +14,7 @@ export type GetFunctionsInput = {
*
*
* @description Lists Remotion Lambda render functions deployed to AWS Lambda.
- * @link https://remotion-3.vercel.app/docs/lambda/getfunctions
+ * @link https://v3.remotion.dev/docs/lambda/getfunctions
* @param options.region The region of which the functions should be listed.
* @param options.compatibleOnly Whether only functions compatible with the installed version of Remotion Lambda should be returned.
* @returns {Promise<FunctionInfo[]>} An array with the objects containing information about the deployed functions.
diff --git a/packages/lambda/src/api/get-or-create-bucket.ts b/packages/lambda/src/api/get-or-create-bucket.ts
index 52b3b24087..89fe53a3d2 100644
--- a/packages/lambda/src/api/get-or-create-bucket.ts
+++ b/packages/lambda/src/api/get-or-create-bucket.ts
@@ -15,7 +15,7 @@ export type GetOrCreateBucketOutput = {
};
/**
* @description Creates a bucket for Remotion Lambda in your S3 account. If one already exists, it will get returned instead.
- * @link https://remotion-3.vercel.app/docs/lambda/getorcreatebucket
+ * @link https://v3.remotion.dev/docs/lambda/getorcreatebucket
* @param options.region The region in which you want your S3 bucket to reside in.
* @returns {Promise<GetOrCreateBucketOutput>} An object containing the `bucketName`.
*/
diff --git a/packages/lambda/src/api/get-regions.ts b/packages/lambda/src/api/get-regions.ts
index 3c63c7a182..7550c0ee81 100644
--- a/packages/lambda/src/api/get-regions.ts
+++ b/packages/lambda/src/api/get-regions.ts
@@ -3,7 +3,7 @@ import {AWS_REGIONS} from '../regions';
/**
* @description Gets an array of all supported AWS regions of this release of Remotion Lambda.
- * @link https://remotion-3.vercel.app/docs/lambda/getregions
+ * @link https://v3.remotion.dev/docs/lambda/getregions
* @returns {AwsRegion[]} A list of AWS regions.
*/
export const getRegions = (): readonly AwsRegion[] => {
diff --git a/packages/lambda/src/api/get-render-progress.ts b/packages/lambda/src/api/get-render-progress.ts
index 486160123f..84c49a2730 100644
--- a/packages/lambda/src/api/get-render-progress.ts
+++ b/packages/lambda/src/api/get-render-progress.ts
@@ -11,7 +11,7 @@ export type GetRenderInput = {
/**
* @description Gets the current status of a render originally triggered via renderMediaOnLambda().
- * @link https://remotion-3.vercel.app/docs/lambda/getrenderprogress
+ * @link https://v3.remotion.dev/docs/lambda/getrenderprogress
* @param {string} params.functionName The name of the function used to trigger the render.
* @param {string} params.bucketName The name of the bucket that was used in the render.
* @param {string} params.renderId The ID of the render that was returned by `renderMediaOnLambda()`.
diff --git a/packages/lambda/src/api/get-sites.ts b/packages/lambda/src/api/get-sites.ts
index b3f0c9b9a4..f2f9cc5d77 100644
--- a/packages/lambda/src/api/get-sites.ts
+++ b/packages/lambda/src/api/get-sites.ts
@@ -25,7 +25,7 @@ export type GetSitesOutput = {
/**
*
* @description Gets all the deployed sites for a certain AWS region.
- * @link https://remotion-3.vercel.app/docs/lambda/getsites
+ * @link https://v3.remotion.dev/docs/lambda/getsites
* @param {AwsRegion} params.region The AWS region that you want to query for.
* @returns {Promise<GetSitesOutput>} A Promise containing an object with `sites` and `bucket` keys. Consult documentation for details.
*/
diff --git a/packages/lambda/src/api/iam-validation/simulate.ts b/packages/lambda/src/api/iam-validation/simulate.ts
index cf7ac32de2..2e968c425d 100644
--- a/packages/lambda/src/api/iam-validation/simulate.ts
+++ b/packages/lambda/src/api/iam-validation/simulate.ts
@@ -28,7 +28,7 @@ export type SimulatePermissionsOutput = {
/**
* @description Simulates calls using the AWS Simulator to validate the correct permissions.
- * @link http://remotion-3.vercel.app/docs/lambda/simulatepermissions
+ * @link http://v3.remotion.dev/docs/lambda/simulatepermissions
* @param {AwsRegion} options.region The region which you would like to validate
* @param {(result: SimulationResult) => void} options.onSimulation The region which you would like to validate
* @returns {Promise<SimulatePermissionsOutput>} See documentation for detailed response structure.
diff --git a/packages/lambda/src/api/iam-validation/suggested-policy.ts b/packages/lambda/src/api/iam-validation/suggested-policy.ts
index 56346c91d0..452809a7a9 100644
--- a/packages/lambda/src/api/iam-validation/suggested-policy.ts
+++ b/packages/lambda/src/api/iam-validation/suggested-policy.ts
@@ -31,7 +31,7 @@ const suggestedRolePolicy = {
/**
* @description Returns an inline JSON policy to be assigned to the AWS user whose credentials are being used for excuting CLI commands or calling Node.JS functions.
- * @link https://remotion-3.vercel.app/docs/lambda/getuserpolicy
+ * @link https://v3.remotion.dev/docs/lambda/getuserpolicy
*/
export const getUserPolicy = () => JSON.stringify(suggestedPolicy, null, 2);
@@ -40,6 +40,6 @@ export const ROLE_NAME = 'remotion-lambda-role';
/**
* @description Returns an inline JSON policy to be assigned to the 'remotion-lambda-role' role that needs to be created in your AWS account.
- * @link https://remotion-3.vercel.app/docs/lambda/getrolepolicy
+ * @link https://v3.remotion.dev/docs/lambda/getrolepolicy
*/
export const getRolePolicy = () => JSON.stringify(suggestedRolePolicy, null, 2);
diff --git a/packages/lambda/src/api/render-media-on-lambda.ts b/packages/lambda/src/api/render-media-on-lambda.ts
index 55e4098594..248fafd407 100644
--- a/packages/lambda/src/api/render-media-on-lambda.ts
+++ b/packages/lambda/src/api/render-media-on-lambda.ts
@@ -44,7 +44,7 @@ export type RenderMediaOnLambdaOutput = {
/**
* @description Triggers a render on a lambda given a composition and a lambda function.
- * @link https://remotion-3.vercel.app/docs/lambda/rendermediaonlambda
+ * @link https://v3.remotion.dev/docs/lambda/rendermediaonlambda
* @param params.functionName The name of the Lambda function that should be used
* @param params.serveUrl The URL of the deployed project
* @param params.composition The ID of the composition which should be rendered.
diff --git a/packages/lambda/src/api/render-still-on-lambda.ts b/packages/lambda/src/api/render-still-on-lambda.ts
index bf65f99412..d24817e4ba 100644
--- a/packages/lambda/src/api/render-still-on-lambda.ts
+++ b/packages/lambda/src/api/render-still-on-lambda.ts
@@ -33,7 +33,7 @@ export type RenderStillOnLambdaOutput = {
/**
* @description Renders a still frame on Lambda
- * @link https://remotion-3.vercel.app/docs/lambda/renderstillonlambda
+ * @link https://v3.remotion.dev/docs/lambda/renderstillonlambda
* @param params.functionName The name of the Lambda function that should be used
* @param params.serveUrl The URL of the deployed project
* @param params.composition The ID of the composition which should be rendered.
diff --git a/packages/lambda/src/shared/docs-url.ts b/packages/lambda/src/shared/docs-url.ts
index 25927cb803..9674412bdd 100644
--- a/packages/lambda/src/shared/docs-url.ts
+++ b/packages/lambda/src/shared/docs-url.ts
@@ -1 +1 @@
-export const DOCS_URL = 'https://remotion-3.vercel.app';
+export const DOCS_URL = 'https://v3.remotion.dev';