🎥 Make videos programmatically with React
update docs with links to source code
Jonny Burger5ca644dc6559
diff --git a/packages/docs/docs/absolute-fill.md b/packages/docs/docs/absolute-fill.mdindex 8456bde0f1..6d3271ff7b 100644--- a/packages/docs/docs/absolute-fill.md+++ b/packages/docs/docs/absolute-fill.md@@ -20,4 +20,4 @@ A helper component - it is an absolutely positioned `<div>` with the following s## See also-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/AbsoluteFill.tsx)+- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/AbsoluteFill.tsx)diff --git a/packages/docs/docs/audio.md b/packages/docs/docs/audio.mdindex 401315f918..836138be94 100644--- a/packages/docs/docs/audio.md+++ b/packages/docs/docs/audio.md@@ -45,7 +45,7 @@ While Remotion doesn't limit the range of possible playback speeds, in developme## See also-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/audio/Audio.tsx)+- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/audio/Audio.tsx)- [Using audio](/docs/audio)- [Audio visualization](/docs/audio-visualization)- [`<Video />`](/docs/video)diff --git a/packages/docs/docs/audiobuffertodataurl.md b/packages/docs/docs/audiobuffertodataurl.mdindex eabf7ed5fc..83c58cbcdf 100644--- a/packages/docs/docs/audiobuffertodataurl.md+++ b/packages/docs/docs/audiobuffertodataurl.md@@ -83,4 +83,5 @@ export const OfflineAudioBufferExample: React.FC = () => {## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/media-utils/src/audio-buffer/audio-helpers.ts)- [Rendering audio only](/docs/using-audio/#rendering-audio-only)diff --git a/packages/docs/docs/bundle.md b/packages/docs/docs/bundle.mdindex 375860a3ca..b03d2979a3 100644--- a/packages/docs/docs/bundle.md+++ b/packages/docs/docs/bundle.md@@ -81,6 +81,7 @@ A promise which will resolve into a `string` specifying the output directory.## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/bundler/src/bundle.ts)- [Server-Side rendering](/docs/ssr)- [getCompositions()](/docs/renderer/get-compositions)- [renderMedia()](/docs/renderer/render-media)diff --git a/packages/docs/docs/composition.md b/packages/docs/docs/composition.mdindex de7ccbb364..b9f756e538 100644--- a/packages/docs/docs/composition.md+++ b/packages/docs/docs/composition.md@@ -120,7 +120,7 @@ export const Video = () => {## See also-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/Composition.tsx)+- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/Composition.tsx)- [registerRoot()](/docs/register-root)- [The fundamentals](/docs/the-fundamentals)- [CLI options](/docs/cli)diff --git a/packages/docs/docs/folder.md b/packages/docs/docs/folder.mdindex 25ef9dabb5..63919fc076 100644--- a/packages/docs/docs/folder.md+++ b/packages/docs/docs/folder.md@@ -53,5 +53,5 @@ will create a tree structure in the sidebar that looks like this:## See also-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/Folder.tsx)+- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/Folder.tsx)- [`<Composition />`](/docs/composition)diff --git a/packages/docs/docs/freeze.md b/packages/docs/docs/freeze.mdindex 13a5e1e27a..1b80c76c83 100644--- a/packages/docs/docs/freeze.md+++ b/packages/docs/docs/freeze.md@@ -47,6 +47,6 @@ const MyVideo = () => {## See also-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/freeze.tsx)+- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/freeze.tsx)- [`<Video/>` Playback speed](/docs/video#controlling-playback-speed)- [`useCurrentFrame()`](/docs/use-current-frame)diff --git a/packages/docs/docs/get-audio-data.md b/packages/docs/docs/get-audio-data.mdindex cd1f48c488..8d7808605f 100644--- a/packages/docs/docs/get-audio-data.md+++ b/packages/docs/docs/get-audio-data.md@@ -92,6 +92,7 @@ Use the [`useAudioData()`](/docs/use-audio-data) helper hook to not have to do s## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/media-utils/src/get-audio-data.ts)- [Using audio](/docs/using-audio)- [Audio visualization](/docs/audio-visualization)- [`<Audio/>`](/docs/audio)diff --git a/packages/docs/docs/get-audio-duration-in-seconds.md b/packages/docs/docs/get-audio-duration-in-seconds.mdindex a68abf0103..d443f1b61e 100644--- a/packages/docs/docs/get-audio-duration-in-seconds.md+++ b/packages/docs/docs/get-audio-duration-in-seconds.md@@ -48,3 +48,7 @@ const MyComp: React.FC = () => {return null;};```++## See also++- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/media-utils/src/get-audio-duration-in-seconds.ts)diff --git a/packages/docs/docs/get-video-metadata.md b/packages/docs/docs/get-video-metadata.mdindex 03b0d72b0a..dc41ac2fab 100644--- a/packages/docs/docs/get-video-metadata.md+++ b/packages/docs/docs/get-video-metadata.md@@ -56,5 +56,6 @@ If you pass in the same argument to `src` multiple times, it will return a cache## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/media-utils/src/get-video-metadata.ts)- [Using videos](/docs/assets#using-videos)- [`<Video/>`](/docs/video)diff --git a/packages/docs/docs/get-waveform-portion.md b/packages/docs/docs/get-waveform-portion.mdindex 05d56b4d51..d1e6b82c67 100644--- a/packages/docs/docs/get-waveform-portion.md+++ b/packages/docs/docs/get-waveform-portion.md@@ -59,5 +59,8 @@ console.log(waveformPortion.length); // 10The [`visualizeAudio()`](/docs/visualize-audio) function is more suitable for visualizing audio based on frequency properties of the audio (bass, mids, highs, etc).+## See also++- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/media-utils/src/get-waveform-portion.ts)- [Using audio](/docs/using-audio)- [`<Audio/>`](/docs/audio)diff --git a/packages/docs/docs/gif.md b/packages/docs/docs/gif.mdindex 27dd49cc4f..df93e2ece6 100644--- a/packages/docs/docs/gif.md+++ b/packages/docs/docs/gif.md@@ -18,7 +18,21 @@ _required_The source of the GIF. Can be an URL or a local image - see [Importing assets](/docs/assets).-> If you pass a remote URL, it must be [CORS-enabled](https://enable-cors.org/).+:::info+Remote GIFs need to support [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS).++<details>+<summary>More info</summary>+<ul>+<li>+Remotion's origin is usually <code>http://localhost:3000</code>, but it may be different if rendering on Lambda or the port is busy.+</li>+<li>+You can <a href="/docs/chromium-flags#--disable-web-security">disable CORS</a> during renders.+</li>+</ul>+</details>+:::### `width`diff --git a/packages/docs/docs/iframe.md b/packages/docs/docs/iframe.mdindex 6aa1b7692d..7f42a94502 100644--- a/packages/docs/docs/iframe.md+++ b/packages/docs/docs/iframe.md@@ -18,5 +18,5 @@ export const MyComp: React.FC = () => {## See also-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/IFrame.tsx)+- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/IFrame.tsx)- [Use `<Img>` and `<IFrame>` tags](/docs/use-img-and-iframe)diff --git a/packages/docs/docs/img.md b/packages/docs/docs/img.mdindex 552f452806..0b6fc01244 100644--- a/packages/docs/docs/img.md+++ b/packages/docs/docs/img.md@@ -27,5 +27,5 @@ Don't use the `<Img>` tag for GIFs, use [`@remotion/gif`](/docs/gif) instead.## See also-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/Img.tsx)+- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/Img.tsx)- [Use `<Img>` and `<IFrame>` tags](/docs/use-img-and-iframe)diff --git a/packages/docs/docs/lambda/deletefunction.md b/packages/docs/docs/lambda/deletefunction.mdindex 3b40db6baa..634a74e825 100644--- a/packages/docs/docs/lambda/deletefunction.md+++ b/packages/docs/docs/lambda/deletefunction.md@@ -14,16 +14,16 @@ To retrieve a list of functions, call [`getFunctions()`](/docs/lambda/getfunctio// @module: esnext// @target: es2017-import {deleteFunction, getFunctions} from '@remotion/lambda';+import { deleteFunction, getFunctions } from "@remotion/lambda";const functions = await getFunctions({- region: 'us-east-1',- compatibleOnly: false+ region: "us-east-1",+ compatibleOnly: false,});for (const fn of functions) {await deleteFunction({- region: 'us-east-1',- functionName: fn.functionName+ region: "us-east-1",+ functionName: fn.functionName,});}```@@ -46,5 +46,6 @@ Nothing. If the deletion failed, the function rejects with an error.## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/delete-function.ts)- [deployFunction()](/docs/lambda/deployfunction)- [getFunctions()](/docs/lambda/getfunctions)diff --git a/packages/docs/docs/lambda/deletesite.md b/packages/docs/docs/lambda/deletesite.mdindex 5c94b12a67..53121c732b 100644--- a/packages/docs/docs/lambda/deletesite.md+++ b/packages/docs/docs/lambda/deletesite.md@@ -15,21 +15,21 @@ Gets all sites and deletes them.```ts twoslash// @module: ESNext// @target: ESNext-import {AwsRegion, deleteSite, getSites} from '@remotion/lambda';+import { AwsRegion, deleteSite, getSites } from "@remotion/lambda";-const region: AwsRegion = 'eu-central-1';+const region: AwsRegion = "eu-central-1";-const {sites} = await getSites({- region+const { sites } = await getSites({+ region,});for (const site of sites) {await deleteSite({bucketName: site.bucketName,siteName: site.id,- region- })- console.log(`Site ${site.id} deleted.`)+ region,+ });+ console.log(`Site ${site.id} deleted.`);}```@@ -67,5 +67,6 @@ The amount of space that was freed by deleting the project.## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/delete-site.ts)- [getSites()](/docs/lambda/getsites)- [deploySite()](/docs/lambda/deploysite)diff --git a/packages/docs/docs/lambda/deployfunction.md b/packages/docs/docs/lambda/deployfunction.mdindex c6056d6ca8..bbd4f8946b 100644--- a/packages/docs/docs/lambda/deployfunction.md+++ b/packages/docs/docs/lambda/deployfunction.md@@ -83,5 +83,6 @@ An object with the following values:## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/deploy-function.ts)- [deleteFunction()](/docs/lambda/deletefunction)- [getFunctions()](/docs/lambda/getfunctions)diff --git a/packages/docs/docs/lambda/deploysite.md b/packages/docs/docs/lambda/deploysite.mdindex 6c703caf63..ca6efdee09 100644--- a/packages/docs/docs/lambda/deploysite.md+++ b/packages/docs/docs/lambda/deploysite.md@@ -117,5 +117,6 @@ An object with the following values:## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/deploy-site.ts)- [getSites()](/docs/lambda/getsites)- [deleteSite()](/docs/lambda/deletesite)diff --git a/packages/docs/docs/lambda/downloadmedia.md b/packages/docs/docs/lambda/downloadmedia.mdindex d238f570d3..cc5d5a664e 100644--- a/packages/docs/docs/lambda/downloadmedia.md+++ b/packages/docs/docs/lambda/downloadmedia.md@@ -49,6 +49,14 @@ The ID of the render. You can retrieve this ID by calling [`renderMediaOnLambda(Where the video should be saved. Pass an absolute path, or it will be resolved relative to your current working directory.+### `onProgress`++Callback function that gets called with the following properties:++- `totalSize` in bytes+- `downloaded` number of bytes downloaded+- `progress` relative progress between 0 and 1+## Return valueReturns a promise resolving to an object with the following properties:@@ -61,9 +69,8 @@ The absolute path of where the file got saved.The size of the file in bytes.-### `onProgress`-## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/download-media.ts)- [renderMediaOnLambda()](/docs/lambda/rendermediaonlambda)- [renderStillOnLambda()](/docs/lambda/renderstillonlambda)diff --git a/packages/docs/docs/lambda/estimateprice.md b/packages/docs/docs/lambda/estimateprice.mdindex 2f5024474b..353b13d264 100644--- a/packages/docs/docs/lambda/estimateprice.md+++ b/packages/docs/docs/lambda/estimateprice.md@@ -65,3 +65,7 @@ The amount of disk space allocated in megabytes.## Return valueThe estimated cost in USD as a `number`.++## See also++- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/estimate-price.ts)diff --git a/packages/docs/docs/lambda/getawsclient.md b/packages/docs/docs/lambda/getawsclient.mdindex beb7647d7b..851b2062ec 100644--- a/packages/docs/docs/lambda/getawsclient.md+++ b/packages/docs/docs/lambda/getawsclient.md@@ -101,3 +101,7 @@ The full SDK JavaScript module for the service you specified.:::noteYou don't need to create a new client from the SDK and should instead reuse the `client` that is also returned and being used by Remotion, in order to save memory.:::++## See also++- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/get-aws-client.ts)diff --git a/packages/docs/docs/lambda/getfunctioninfo.md b/packages/docs/docs/lambda/getfunctioninfo.mdindex 71f55c65a8..bb294c6f22 100644--- a/packages/docs/docs/lambda/getfunctioninfo.md+++ b/packages/docs/docs/lambda/getfunctioninfo.md@@ -67,6 +67,7 @@ The timeout that has been assigned to the Lambda function.## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/get-function-info.ts)- [`getFunctions()`](/docs/lambda/getfunctions)- [`deployFunction()`](/docs/lambda/deployfunction)- [`deleteFunction()`](/docs/lambda/deletefunction)diff --git a/packages/docs/docs/lambda/getfunctions.md b/packages/docs/docs/lambda/getfunctions.mdindex 994fea71cf..4133b1d51d 100644--- a/packages/docs/docs/lambda/getfunctions.md+++ b/packages/docs/docs/lambda/getfunctions.md@@ -74,6 +74,7 @@ The timeout that has been assigned to the Lambda function.## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/get-functions.ts)- [`getFunctionInfo()`](/docs/lambda/getfunctioninfo)- [`deployFunction()`](/docs/lambda/deployfunction)- [`deleteFunction()`](/docs/lambda/deletefunction)diff --git a/packages/docs/docs/lambda/getorcreatebucket.md b/packages/docs/docs/lambda/getorcreatebucket.mdindex 0e14ca2db8..23d510802b 100644--- a/packages/docs/docs/lambda/getorcreatebucket.md+++ b/packages/docs/docs/lambda/getorcreatebucket.md@@ -42,4 +42,5 @@ The name of your bucket that was found or created.## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/get-or-create-bucket.ts)- [getFunctions()](/docs/lambda/getfunctions)diff --git a/packages/docs/docs/lambda/getregions.md b/packages/docs/docs/lambda/getregions.mdindex 14df8ad3ef..092573a1df 100644--- a/packages/docs/docs/lambda/getregions.md+++ b/packages/docs/docs/lambda/getregions.md@@ -28,4 +28,5 @@ An array of supported regions by this release of Remotion Lambda.## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/get-regions.ts)- [Region selection](/docs/lambda/region-selection)diff --git a/packages/docs/docs/lambda/getrenderprogress.md b/packages/docs/docs/lambda/getrenderprogress.mdindex 532273d7d2..ae5455ef46 100644--- a/packages/docs/docs/lambda/getrenderprogress.md+++ b/packages/docs/docs/lambda/getrenderprogress.md@@ -134,4 +134,5 @@ If the render is in progress, this is `null`. If the render is done, it is an ar## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/get-render-progress.ts)- [renderMediaOnLambda()](/docs/lambda/rendermediaonlambda)diff --git a/packages/docs/docs/lambda/getrolepolicy.md b/packages/docs/docs/lambda/getrolepolicy.mdindex f79e3b378b..a0e36c1e2c 100644--- a/packages/docs/docs/lambda/getrolepolicy.md+++ b/packages/docs/docs/lambda/getrolepolicy.md@@ -13,11 +13,9 @@ See [Setup tutorial](/docs/lambda/setup) for setting up Lambda from scratch or [## Example```ts twoslash-import {getRolePolicy} from '@remotion/lambda';+import { getRolePolicy } from "@remotion/lambda";-console.log(- getRolePolicy()-); /* `+console.log(getRolePolicy()); /* `{"Version": "2012-10-17","Statements": [@@ -29,5 +27,6 @@ console.log(## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/iam-validation/role-permissions.ts)- [getUserPolicy()](/docs/lambda/getuserpolicy)- [Permissions](/docs/lambda/permissions)diff --git a/packages/docs/docs/lambda/getsites.md b/packages/docs/docs/lambda/getsites.mdindex 7647255e63..32011e6abe 100644--- a/packages/docs/docs/lambda/getsites.md+++ b/packages/docs/docs/lambda/getsites.md@@ -98,4 +98,5 @@ A UNIX timestamp of the point when the bucket was first created.## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/get-sites.ts)- [deleteSite()](/docs/lambda/deletesite)diff --git a/packages/docs/docs/lambda/getuserpolicy.md b/packages/docs/docs/lambda/getuserpolicy.mdindex 49104bfcce..29a2114a4a 100644--- a/packages/docs/docs/lambda/getuserpolicy.md+++ b/packages/docs/docs/lambda/getuserpolicy.md@@ -11,11 +11,9 @@ See [Setup tutorial](/docs/lambda/setup) for setting up Lambda from scratch or [## Example```ts twoslash-import {getUserPolicy} from '@remotion/lambda';+import { getUserPolicy } from "@remotion/lambda";-console.log(- getUserPolicy()-); /* `+console.log(getUserPolicy()); /* `{"Version": "2012-10-17","Statements": [@@ -27,5 +25,6 @@ console.log(## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/iam-validation/user-permissions.ts)- [getRolePolicy()](/docs/lambda/getrolepolicy)- [Permissions](/docs/lambda/permissions)diff --git a/packages/docs/docs/lambda/presignurl.md b/packages/docs/docs/lambda/presignurl.mdindex 64bc326c1c..4abdb89fdd 100644--- a/packages/docs/docs/lambda/presignurl.md+++ b/packages/docs/docs/lambda/presignurl.md@@ -55,4 +55,5 @@ If the object does not exist and `checkIfObjectExists` is:## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/presign-url.ts)- [`downloadMedia()`](/docs/lambda/downloadmedia)diff --git a/packages/docs/docs/lambda/rendermediaonlambda.md b/packages/docs/docs/lambda/rendermediaonlambda.mdindex 360196f655..ee6fd6efc8 100644--- a/packages/docs/docs/lambda/rendermediaonlambda.md+++ b/packages/docs/docs/lambda/rendermediaonlambda.md@@ -180,4 +180,5 @@ The S3 bucket name in which all files are being saved.## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/render-media-on-lambda.ts)- [getRenderProgress()](/docs/lambda/getrenderprogress)diff --git a/packages/docs/docs/lambda/renderstillonlambda.md b/packages/docs/docs/lambda/renderstillonlambda.mdindex 238ba7f688..e9c94b2190 100644--- a/packages/docs/docs/lambda/renderstillonlambda.md+++ b/packages/docs/docs/lambda/renderstillonlambda.md@@ -173,5 +173,6 @@ A unique alphanumeric identifier for this render. Useful for obtaining status an## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/render-still-on-lambda.ts)- [renderMediaOnLambda()](/docs/lambda/rendermediaonlambda)- [renderStill()](/docs/renderer/render-still)diff --git a/packages/docs/docs/lambda/simulatepermissions.md b/packages/docs/docs/lambda/simulatepermissions.mdindex afa5a76d42..2f9a726386 100644--- a/packages/docs/docs/lambda/simulatepermissions.md+++ b/packages/docs/docs/lambda/simulatepermissions.md@@ -73,6 +73,7 @@ The identifier of the required permission. See the [Permissions page](/docs/lamb## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/lambda/src/api/iam-validation/simulate.ts)- [getUserPolicy()](/docs/lambda/getuserpolicy)- [getRolePolicy()](/docs/lambda/getrolepolicy)- [Permissions](/docs/lambda/permissions)diff --git a/packages/docs/docs/loop.md b/packages/docs/docs/loop.mdindex dd3a5d3a78..9736061e22 100644--- a/packages/docs/docs/loop.md+++ b/packages/docs/docs/loop.md@@ -102,5 +102,5 @@ const MyVideo = () => {## See also-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/loop/index.tsx)+- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/loop/index.tsx)- [`<Sequence>`](/docs/sequence)diff --git a/packages/docs/docs/offthreadvideo.md b/packages/docs/docs/offthreadvideo.mdindex 30bd4d0b56..7b968111b9 100644--- a/packages/docs/docs/offthreadvideo.md+++ b/packages/docs/docs/offthreadvideo.md@@ -41,6 +41,6 @@ Avoid embedding a video beyond it's end (for example: Rendering a 5 second video## See also-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/video/OffthreadVideo.tsx)+- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/video/OffthreadVideo.tsx)- [`<Video />`](/docs/video)- [`<Video>` vs `<OffthreadVideo>`](/docs/video-vs-offthreadvideo)diff --git a/packages/docs/docs/player/api.md b/packages/docs/docs/player/api.mdindex 4073a5e4fd..477478087e 100644--- a/packages/docs/docs/player/api.md+++ b/packages/docs/docs/player/api.md@@ -472,3 +472,7 @@ const MyApp: React.FC = () => {);};```++## See also++- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/player/src/Player.tsx)diff --git a/packages/docs/docs/sequence.md b/packages/docs/docs/sequence.mdindex 19c16653f5..3e34727270 100644--- a/packages/docs/docs/sequence.md+++ b/packages/docs/docs/sequence.md@@ -139,7 +139,7 @@ See the [`<Series />`](/docs/series) helper component, which helps you calculate## See also-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/Sequence.tsx)+- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/Sequence.tsx)- [Reuse components using Sequences](/docs/reusability)- [`<Composition />`](/docs/composition)- [`<Series />`](/docs/series)diff --git a/packages/docs/docs/still.md b/packages/docs/docs/still.mdindex 66bc5ecc1c..7c00aeef97 100644--- a/packages/docs/docs/still.md+++ b/packages/docs/docs/still.md@@ -38,5 +38,5 @@ export const MyVideo = () => {## See also-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/Still.tsx)+- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/Still.tsx)- [`<Composition />`](/docs/composition)diff --git a/packages/docs/docs/use-audio-data.md b/packages/docs/docs/use-audio-data.mdindex 9319d9b1be..655db899fb 100644--- a/packages/docs/docs/use-audio-data.md+++ b/packages/docs/docs/use-audio-data.md@@ -63,6 +63,7 @@ export const MyComponent: React.FC = () => {## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/media-utils/src/use-audio-data.ts)- [`getAudioData()`](/docs/get-audio-data)- [`visualizeAudio()`](/docs/visualize-audio)- [Audio visualization](/docs/audio-visualization)diff --git a/packages/docs/docs/visualize-audio.md b/packages/docs/docs/visualize-audio.mdindex 9bd31984a9..a31dca394e 100644--- a/packages/docs/docs/visualize-audio.md+++ b/packages/docs/docs/visualize-audio.md@@ -73,6 +73,7 @@ export const MyComponent: React.FC = () => {## See also+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/media-utils/src/visualize-audio.ts)- [Audio visualization](/docs/audio-visualization)- [`useAudioData()`](/docs/use-audio-data)- [`getAudioData()`](/docs/get-audio-data)diff --git a/packages/media-utils/src/get-audio-duration.ts b/packages/media-utils/src/get-audio-duration-in-seconds.tssimilarity index 100%rename from packages/media-utils/src/get-audio-duration.tsrename to packages/media-utils/src/get-audio-duration-in-seconds.tsdiff --git a/packages/media-utils/src/index.ts b/packages/media-utils/src/index.tsindex 6c86463ee5..d2b75156a1 100644--- a/packages/media-utils/src/index.ts+++ b/packages/media-utils/src/index.ts@@ -3,7 +3,7 @@ export {getAudioData} from './get-audio-data';export {getAudioDuration,getAudioDurationInSeconds,-} from './get-audio-duration';+} from './get-audio-duration-in-seconds';export {getVideoMetadata} from './get-video-metadata';export {getWaveformPortion} from './get-waveform-portion';export * from './types';