🎥 Make videos programmatically with React
nice
Jonny Burger3455344a2879
diff --git a/packages/docs/docs/using-randomness.md b/packages/docs/docs/using-randomness.mdindex 2630ca9492..78589c3bf4 100644--- a/packages/docs/docs/using-randomness.md+++ b/packages/docs/docs/using-randomness.md@@ -1,6 +1,7 @@---id: using-randomnesstitle: Using randomness+crumb: "Roll the dice:"---The following thing is an anti-pattern in Remotion:diff --git a/packages/docs/extract-articles.mjs b/packages/docs/extract-articles.mjsindex a544e79766..b4d37024a0 100644--- a/packages/docs/extract-articles.mjs+++ b/packages/docs/extract-articles.mjs@@ -28,6 +28,17 @@ const findTitle = (split) => {return title;};+const findCrumb = (split) => {+ const crumb = split+ .find((s) => s.startsWith("crumb: "))+ ?.replace(/^crumb:\s/, "");+ if (crumb?.startsWith('"')) {+ return crumb.substr(1, crumb.length - 2);+ }++ return crumb ?? null;+};+const data = [];for (const page of pages) {@@ -40,12 +51,14 @@ for (const page of pages) {const split = frontmatter[1].split("\n");const id = findId(split, page);const title = findTitle(split);+ const crumb = findCrumb(split);const relativePath = page.replace(process.cwd() + path.sep, "");- data.push({ id, title, relativePath });+ const compId = relativePath.replace(/\//g, "-").replace(/.md$/, "");+ data.push({ id, title, relativePath, compId, crumb });}fs.writeFileSync(- path.join(process.cwd(), "src", "data", "article.ts"),- JSON.stringify(data, null, 2)+ path.join(process.cwd(), "src", "data", "articles.ts"),+ `export const articles = ` + JSON.stringify(data, null, 2));diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.tsnew file mode 100644index 0000000000..da91de7862--- /dev/null+++ b/packages/docs/src/data/articles.ts@@ -0,0 +1,1710 @@+export const articles = [+ {+ "id": "2-0-migration",+ "title": "v2.0 Migration",+ "relativePath": "docs/2-0-migration.md",+ "compId": "docs-2-0-migration",+ "crumb": null+ },+ {+ "id": "3-0-migration",+ "title": "v3.0 Migration",+ "relativePath": "docs/3-0-migration.md",+ "compId": "docs-3-0-migration",+ "crumb": null+ },+ {+ "id": "absolute-fill",+ "title": "<AbsoluteFill>",+ "relativePath": "docs/absolute-fill.md",+ "compId": "docs-absolute-fill",+ "crumb": null+ },+ {+ "id": "after-effects",+ "title": "Import from After Effects",+ "relativePath": "docs/after-effects.md",+ "compId": "docs-after-effects",+ "crumb": null+ },+ {+ "id": "animating-properties",+ "title": "Animating properties",+ "relativePath": "docs/animating-properties.md",+ "compId": "docs-animating-properties",+ "crumb": null+ },+ {+ "id": "api",+ "title": "API overview",+ "relativePath": "docs/api.md",+ "compId": "docs-api",+ "crumb": null+ },+ {+ "id": "audio-visualization",+ "title": "Audio visualization",+ "relativePath": "docs/audio-visualization.md",+ "compId": "docs-audio-visualization",+ "crumb": null+ },+ {+ "id": "audio",+ "title": "<Audio>",+ "relativePath": "docs/audio.md",+ "compId": "docs-audio",+ "crumb": null+ },+ {+ "id": "audio-buffer-to-data-url",+ "title": "audioBufferToDataUrl()",+ "relativePath": "docs/audiobuffertodataurl.md",+ "compId": "docs-audiobuffertodataurl",+ "crumb": null+ },+ {+ "id": "brownfield",+ "title": "Installing Remotion in an existing project",+ "relativePath": "docs/brownfield-installation.md",+ "compId": "docs-brownfield-installation",+ "crumb": null+ },+ {+ "id": "bundle",+ "title": "bundle()",+ "relativePath": "docs/bundle.md",+ "compId": "docs-bundle",+ "crumb": null+ },+ {+ "id": "bundler",+ "title": "@remotion/bundler",+ "relativePath": "docs/bundler.md",+ "compId": "docs-bundler",+ "crumb": null+ },+ {+ "id": "chromium-flags",+ "title": "Chromium flags",+ "relativePath": "docs/chromium-flags.md",+ "compId": "docs-chromium-flags",+ "crumb": null+ },+ {+ "id": "cli/benchmark",+ "title": "npx remotion benchmark",+ "relativePath": "docs/cli/benchmark.md",+ "compId": "docs-cli-benchmark",+ "crumb": null+ },+ {+ "id": "cli",+ "title": "Command line reference",+ "relativePath": "docs/cli/cli.md",+ "compId": "docs-cli-cli",+ "crumb": null+ },+ {+ "id": "cli/compositions",+ "title": "npx remotion compositions",+ "relativePath": "docs/cli/compositions.md",+ "compId": "docs-cli-compositions",+ "crumb": null+ },+ {+ "id": "cli/help",+ "title": "npx remotion help",+ "relativePath": "docs/cli/help.md",+ "compId": "docs-cli-help",+ "crumb": null+ },+ {+ "id": "cli/install",+ "title": "npx remotion install",+ "relativePath": "docs/cli/install.md",+ "compId": "docs-cli-install",+ "crumb": null+ },+ {+ "id": "cli/preview",+ "title": "npx remotion preview",+ "relativePath": "docs/cli/preview.md",+ "compId": "docs-cli-preview",+ "crumb": null+ },+ {+ "id": "cli/render",+ "title": "npx remotion render",+ "relativePath": "docs/cli/render.md",+ "compId": "docs-cli-render",+ "crumb": null+ },+ {+ "id": "cli/still",+ "title": "npx remotion still",+ "relativePath": "docs/cli/still.md",+ "compId": "docs-cli-still",+ "crumb": null+ },+ {+ "id": "cli/upgrade",+ "title": "npx remotion upgrade",+ "relativePath": "docs/cli/upgrade.md",+ "compId": "docs-cli-upgrade",+ "crumb": null+ },+ {+ "id": "cli/versions",+ "title": "npx remotion versions",+ "relativePath": "docs/cli/versions.md",+ "compId": "docs-cli-versions",+ "crumb": null+ },+ {+ "id": "composition",+ "title": "<Composition>",+ "relativePath": "docs/composition.md",+ "compId": "docs-composition",+ "crumb": null+ },+ {+ "id": "config",+ "title": "Configuration file",+ "relativePath": "docs/config.md",+ "compId": "docs-config",+ "crumb": null+ },+ {+ "id": "continue-render",+ "title": "continueRender()",+ "relativePath": "docs/continue-render.md",+ "compId": "docs-continue-render",+ "crumb": null+ },+ {+ "id": "data-fetching",+ "title": "Data fetching",+ "relativePath": "docs/data-fetching.md",+ "compId": "docs-data-fetching",+ "crumb": null+ },+ {+ "id": "dataset-render",+ "title": "Render videos programmatically from a dataset",+ "relativePath": "docs/dataset-render.md",+ "compId": "docs-dataset-render",+ "crumb": null+ },+ {+ "id": "delay-render",+ "title": "delayRender() and continueRender()",+ "relativePath": "docs/delay-render.md",+ "compId": "docs-delay-render",+ "crumb": null+ },+ {+ "id": "webpack-dynamic-imports",+ "title": "Webpack dynamic imports",+ "relativePath": "docs/dynamic-import.md",+ "compId": "docs-dynamic-import",+ "crumb": null+ },+ {+ "id": "dynamic-metadata",+ "title": "Dynamic duration, FPS & dimensions",+ "relativePath": "docs/dynamic-metadata.md",+ "compId": "docs-dynamic-metadata",+ "crumb": null+ },+ {+ "id": "easing",+ "title": "Easing",+ "relativePath": "docs/easing.md",+ "compId": "docs-easing",+ "crumb": null+ },+ {+ "id": "enametoolong",+ "title": "ENAMETOOLONG",+ "relativePath": "docs/enametoolong.md",+ "compId": "docs-enametoolong",+ "crumb": null+ },+ {+ "id": "encoding",+ "title": "Encoding Guide",+ "relativePath": "docs/encoding.md",+ "compId": "docs-encoding",+ "crumb": null+ },+ {+ "id": "env-variables",+ "title": "Environment variables",+ "relativePath": "docs/env-variables.md",+ "compId": "docs-env-variables",+ "crumb": null+ },+ {+ "id": "ffmpeg",+ "title": "Installing FFmpeg",+ "relativePath": "docs/ffmpeg.md",+ "compId": "docs-ffmpeg",+ "crumb": null+ },+ {+ "id": "figma",+ "title": "Import from Figma",+ "relativePath": "docs/figma.md",+ "compId": "docs-figma",+ "crumb": null+ },+ {+ "id": "flickering",+ "title": "Flickering",+ "relativePath": "docs/flickering.md",+ "compId": "docs-flickering",+ "crumb": null+ },+ {+ "id": "folder",+ "title": "<Folder>",+ "relativePath": "docs/folder.md",+ "compId": "docs-folder",+ "crumb": null+ },+ {+ "id": "freeze",+ "title": "<Freeze>",+ "relativePath": "docs/freeze.md",+ "compId": "docs-freeze",+ "crumb": null+ },+ {+ "id": "get-audio-data",+ "title": "getAudioData()",+ "relativePath": "docs/get-audio-data.md",+ "compId": "docs-get-audio-data",+ "crumb": null+ },+ {+ "id": "get-audio-duration-in-seconds",+ "title": "getAudioDurationInSeconds()",+ "relativePath": "docs/get-audio-duration-in-seconds.md",+ "compId": "docs-get-audio-duration-in-seconds",+ "crumb": null+ },+ {+ "id": "get-input-props",+ "title": "getInputProps()",+ "relativePath": "docs/get-input-props.md",+ "compId": "docs-get-input-props",+ "crumb": null+ },+ {+ "id": "get-video-metadata",+ "title": "getVideoMetadata()",+ "relativePath": "docs/get-video-metadata.md",+ "compId": "docs-get-video-metadata",+ "crumb": null+ },+ {+ "id": "get-waveform-portion",+ "title": "getWaveformPortion()",+ "relativePath": "docs/get-waveform-portion.md",+ "compId": "docs-get-waveform-portion",+ "crumb": null+ },+ {+ "id": "getting-started",+ "title": "Setup and Installation",+ "relativePath": "docs/getting-started.md",+ "compId": "docs-getting-started",+ "crumb": null+ },+ {+ "id": "get-gif-duration-in-seconds",+ "title": "getGifDurationInSeconds()",+ "relativePath": "docs/gif/get-gif-duration-in-seconds.md",+ "compId": "docs-gif-get-gif-duration-in-seconds",+ "crumb": null+ },+ {+ "id": "gif/gif",+ "title": "<Gif>",+ "relativePath": "docs/gif/gif.md",+ "compId": "docs-gif-gif",+ "crumb": null+ },+ {+ "id": "gif/index",+ "title": "@remotion/gif",+ "relativePath": "docs/gif/index.md",+ "compId": "docs-gif-index",+ "crumb": null+ },+ {+ "id": "google-fonts/get-available-fonts",+ "title": "getAvailableFonts()",+ "relativePath": "docs/google-fonts/get-available-fonts.md",+ "compId": "docs-google-fonts-get-available-fonts",+ "crumb": null+ },+ {+ "id": "google-fonts/get-info",+ "title": "getInfo()",+ "relativePath": "docs/google-fonts/get-info.md",+ "compId": "docs-google-fonts-get-info",+ "crumb": null+ },+ {+ "id": "google-fonts",+ "title": "@remotion/google-fonts",+ "relativePath": "docs/google-fonts/index.md",+ "compId": "docs-google-fonts-index",+ "crumb": null+ },+ {+ "id": "google-fonts/load-font",+ "title": "loadFont()",+ "relativePath": "docs/google-fonts/load-font.md",+ "compId": "docs-google-fonts-load-font",+ "crumb": null+ },+ {+ "id": "gpu",+ "title": "Using the GPU",+ "relativePath": "docs/gpu.md",+ "compId": "docs-gpu",+ "crumb": null+ },+ {+ "id": "iframe",+ "title": "<IFrame>",+ "relativePath": "docs/iframe.md",+ "compId": "docs-iframe",+ "crumb": null+ },+ {+ "id": "img",+ "title": "<Img>",+ "relativePath": "docs/img.md",+ "compId": "docs-img",+ "crumb": null+ },+ {+ "id": "assets",+ "title": "Importing assets",+ "relativePath": "docs/importing-assets.md",+ "compId": "docs-importing-assets",+ "crumb": null+ },+ {+ "id": "interpolate-colors",+ "title": "interpolateColors()",+ "relativePath": "docs/interpolate-colors.md",+ "compId": "docs-interpolate-colors",+ "crumb": null+ },+ {+ "id": "interpolate",+ "title": "interpolate()",+ "relativePath": "docs/interpolate.md",+ "compId": "docs-interpolate",+ "crumb": null+ },+ {+ "id": "javascript",+ "title": "Plain JavaScript",+ "relativePath": "docs/jsx-support.md",+ "compId": "docs-jsx-support",+ "crumb": null+ },+ {+ "id": "lambda/api",+ "title": "@remotion/lambda",+ "relativePath": "docs/lambda/api.md",+ "compId": "docs-lambda-api",+ "crumb": null+ },+ {+ "id": "changelog",+ "title": "Prerelease Changelog",+ "relativePath": "docs/lambda/changelog.md",+ "compId": "docs-lambda-changelog",+ "crumb": null+ },+ {+ "id": "checklist",+ "title": "Production Checklist",+ "relativePath": "docs/lambda/checklist.md",+ "compId": "docs-lambda-checklist",+ "crumb": null+ },+ {+ "id": "lambda/cli/compositions",+ "title": "npx remotion lambda compositions",+ "relativePath": "docs/lambda/cli/compositions.md",+ "compId": "docs-lambda-cli-compositions",+ "crumb": null+ },+ {+ "id": "functions",+ "title": "npx remotion lambda functions",+ "relativePath": "docs/lambda/cli/functions.md",+ "compId": "docs-lambda-cli-functions",+ "crumb": null+ },+ {+ "id": "policies",+ "title": "npx remotion lambda policies",+ "relativePath": "docs/lambda/cli/policies.md",+ "compId": "docs-lambda-cli-policies",+ "crumb": null+ },+ {+ "id": "quotas",+ "title": "npx remotion lambda quotas",+ "relativePath": "docs/lambda/cli/quotas.md",+ "compId": "docs-lambda-cli-quotas",+ "crumb": null+ },+ {+ "id": "regions",+ "title": "npx remotion lambda regions",+ "relativePath": "docs/lambda/cli/regions.md",+ "compId": "docs-lambda-cli-regions",+ "crumb": null+ },+ {+ "id": "render",+ "title": "npx remotion lambda render",+ "relativePath": "docs/lambda/cli/render.md",+ "compId": "docs-lambda-cli-render",+ "crumb": null+ },+ {+ "id": "sites",+ "title": "npx remotion lambda sites",+ "relativePath": "docs/lambda/cli/sites.md",+ "compId": "docs-lambda-cli-sites",+ "crumb": null+ },+ {+ "id": "still",+ "title": "npx remotion lambda still",+ "relativePath": "docs/lambda/cli/still.md",+ "compId": "docs-lambda-cli-still",+ "crumb": null+ },+ {+ "id": "cli",+ "title": "@remotion/lambda - CLI",+ "relativePath": "docs/lambda/cli.md",+ "compId": "docs-lambda-cli",+ "crumb": null+ },+ {+ "id": "concurrency",+ "title": "Concurrency",+ "relativePath": "docs/lambda/concurrency.md",+ "compId": "docs-lambda-concurrency",+ "crumb": null+ },+ {+ "id": "optimizing-cost",+ "title": "Optimizing for cost",+ "relativePath": "docs/lambda/cost.md",+ "compId": "docs-lambda-cost",+ "crumb": null+ },+ {+ "id": "custom-destination",+ "title": "Customizing Lambda output destination",+ "relativePath": "docs/lambda/custom-destination.md",+ "compId": "docs-lambda-custom-destination",+ "crumb": null+ },+ {+ "id": "lambda/custom-layers",+ "title": "Custom Layers",+ "relativePath": "docs/lambda/custom-layers.md",+ "compId": "docs-lambda-custom-layers",+ "crumb": null+ },+ {+ "id": "deletefunction",+ "title": "deleteFunction()",+ "relativePath": "docs/lambda/deletefunction.md",+ "compId": "docs-lambda-deletefunction",+ "crumb": null+ },+ {+ "id": "deleterender",+ "title": "deleteRender()",+ "relativePath": "docs/lambda/deleterender.md",+ "compId": "docs-lambda-deleterender",+ "crumb": null+ },+ {+ "id": "deletesite",+ "title": "deleteSite()",+ "relativePath": "docs/lambda/deletesite.md",+ "compId": "docs-lambda-deletesite",+ "crumb": null+ },+ {+ "id": "deployfunction",+ "title": "deployFunction()",+ "relativePath": "docs/lambda/deployfunction.md",+ "compId": "docs-lambda-deployfunction",+ "crumb": null+ },+ {+ "id": "deploysite",+ "title": "deploySite()",+ "relativePath": "docs/lambda/deploysite.md",+ "compId": "docs-lambda-deploysite",+ "crumb": null+ },+ {+ "id": "disk-size",+ "title": "Disk size",+ "relativePath": "docs/lambda/disk-size.md",+ "compId": "docs-lambda-disk-size",+ "crumb": null+ },+ {+ "id": "downloadmedia",+ "title": "downloadMedia()",+ "relativePath": "docs/lambda/downloadmedia.md",+ "compId": "docs-lambda-downloadmedia",+ "crumb": null+ },+ {+ "id": "downloadvideo",+ "title": "downloadVideo()",+ "relativePath": "docs/lambda/downloadvideo.md",+ "compId": "docs-lambda-downloadvideo",+ "crumb": null+ },+ {+ "id": "estimateprice",+ "title": "estimatePrice()",+ "relativePath": "docs/lambda/estimateprice.md",+ "compId": "docs-lambda-estimateprice",+ "crumb": null+ },+ {+ "id": "lambda/faq",+ "title": "FAQ",+ "relativePath": "docs/lambda/faq.md",+ "compId": "docs-lambda-faq",+ "crumb": null+ },+ {+ "id": "feb-2022-outage",+ "title": "February 2022 Outage",+ "relativePath": "docs/lambda/feb-2022-outage.md",+ "compId": "docs-lambda-feb-2022-outage",+ "crumb": null+ },+ {+ "id": "getawsclient",+ "title": "getAwsClient()",+ "relativePath": "docs/lambda/getawsclient.md",+ "compId": "docs-lambda-getawsclient",+ "crumb": null+ },+ {+ "id": "getcompositionsonlambda",+ "title": "getCompositionsOnLambda()",+ "relativePath": "docs/lambda/getcompositionsonlambda.md",+ "compId": "docs-lambda-getcompositionsonlambda",+ "crumb": null+ },+ {+ "id": "getfunctioninfo",+ "title": "getFunctionInfo()",+ "relativePath": "docs/lambda/getfunctioninfo.md",+ "compId": "docs-lambda-getfunctioninfo",+ "crumb": null+ },+ {+ "id": "getfunctions",+ "title": "getFunctions()",+ "relativePath": "docs/lambda/getfunctions.md",+ "compId": "docs-lambda-getfunctions",+ "crumb": null+ },+ {+ "id": "getorcreatebucket",+ "title": "getOrCreateBucket()",+ "relativePath": "docs/lambda/getorcreatebucket.md",+ "compId": "docs-lambda-getorcreatebucket",+ "crumb": null+ },+ {+ "id": "getregions",+ "title": "getRegions()",+ "relativePath": "docs/lambda/getregions.md",+ "compId": "docs-lambda-getregions",+ "crumb": null+ },+ {+ "id": "getrenderprogress",+ "title": "getRenderProgress()",+ "relativePath": "docs/lambda/getrenderprogress.md",+ "compId": "docs-lambda-getrenderprogress",+ "crumb": null+ },+ {+ "id": "getrolepolicy",+ "title": "getRolePolicy()",+ "relativePath": "docs/lambda/getrolepolicy.md",+ "compId": "docs-lambda-getrolepolicy",+ "crumb": null+ },+ {+ "id": "getsites",+ "title": "getSites()",+ "relativePath": "docs/lambda/getsites.md",+ "compId": "docs-lambda-getsites",+ "crumb": null+ },+ {+ "id": "getuserpolicy",+ "title": "getUserPolicy()",+ "relativePath": "docs/lambda/getuserpolicy.md",+ "compId": "docs-lambda-getuserpolicy",+ "crumb": null+ },+ {+ "id": "lambda/light-client",+ "title": "Light client",+ "relativePath": "docs/lambda/light-client.md",+ "compId": "docs-lambda-light-client",+ "crumb": null+ },+ {+ "id": "lambda/limits",+ "title": "Lambda Limits",+ "relativePath": "docs/lambda/limits.md",+ "compId": "docs-lambda-limits",+ "crumb": null+ },+ {+ "id": "lambda/permissions",+ "title": "Permissions",+ "relativePath": "docs/lambda/permissions.md",+ "compId": "docs-lambda-permissions",+ "crumb": null+ },+ {+ "id": "presignurl",+ "title": "presignUrl()",+ "relativePath": "docs/lambda/presignurl.md",+ "compId": "docs-lambda-presignurl",+ "crumb": null+ },+ {+ "id": "region-selection",+ "title": "Region selection",+ "relativePath": "docs/lambda/region-selection.md",+ "compId": "docs-lambda-region-selection",+ "crumb": null+ },+ {+ "id": "rendermediaonlambda",+ "title": "renderMediaOnLambda()",+ "relativePath": "docs/lambda/rendermediaonlambda.md",+ "compId": "docs-lambda-rendermediaonlambda",+ "crumb": null+ },+ {+ "id": "renderstillonlambda",+ "title": "renderStillOnLambda()",+ "relativePath": "docs/lambda/renderstillonlambda.md",+ "compId": "docs-lambda-renderstillonlambda",+ "crumb": null+ },+ {+ "id": "rendervideoonlambda",+ "title": "renderVideoOnLambda()",+ "relativePath": "docs/lambda/rendervideoonlambda.md",+ "compId": "docs-lambda-rendervideoonlambda",+ "crumb": null+ },+ {+ "id": "runtime",+ "title": "Runtime",+ "relativePath": "docs/lambda/runtime.md",+ "compId": "docs-lambda-runtime",+ "crumb": null+ },+ {+ "id": "setup",+ "title": "Setup",+ "relativePath": "docs/lambda/setup.md",+ "compId": "docs-lambda-setup",+ "crumb": null+ },+ {+ "id": "simulatepermissions",+ "title": "simulatePermissions()",+ "relativePath": "docs/lambda/simulatepermissions.md",+ "compId": "docs-lambda-simulatepermissions",+ "crumb": null+ },+ {+ "id": "optimizing-speed",+ "title": "Optimizing for speed",+ "relativePath": "docs/lambda/speed.md",+ "compId": "docs-lambda-speed",+ "crumb": null+ },+ {+ "id": "bucket-disallows-acl",+ "title": "The bucket does not allow ACLs",+ "relativePath": "docs/lambda/troubleshooting/bucket-disallows-acl.md",+ "compId": "docs-lambda-troubleshooting-bucket-disallows-acl",+ "crumb": null+ },+ {+ "id": "permissions",+ "title": "AWS Permissions Troubleshooting",+ "relativePath": "docs/lambda/troubleshooting/permissions.md",+ "compId": "docs-lambda-troubleshooting-permissions",+ "crumb": null+ },+ {+ "id": "rate-limit",+ "title": "AWS Rate Limit Troubleshooting",+ "relativePath": "docs/lambda/troubleshooting/rate-limit.md",+ "compId": "docs-lambda-troubleshooting-rate-limit",+ "crumb": null+ },+ {+ "id": "unrecognizedclientexception",+ "title": "UnrecognizedClientException",+ "relativePath": "docs/lambda/troubleshooting/unrecognizedclientexception.md",+ "compId": "docs-lambda-troubleshooting-unrecognizedclientexception",+ "crumb": null+ },+ {+ "id": "uninstall",+ "title": "Uninstall Lambda",+ "relativePath": "docs/lambda/uninstall.md",+ "compId": "docs-lambda-uninstall",+ "crumb": null+ },+ {+ "id": "upgrading",+ "title": "Upgrading Lambda",+ "relativePath": "docs/lambda/upgrading.md",+ "compId": "docs-lambda-upgrading",+ "crumb": null+ },+ {+ "id": "validatewebhooksignature",+ "title": "validateWebhookSignature()",+ "relativePath": "docs/lambda/validatewebhooksignature.md",+ "compId": "docs-lambda-validatewebhooksignature",+ "crumb": null+ },+ {+ "id": "lambda/webhooks",+ "title": "Webhooks",+ "relativePath": "docs/lambda/webhooks.md",+ "compId": "docs-lambda-webhooks",+ "crumb": null+ },+ {+ "id": "lambda",+ "title": "@remotion/lambda",+ "relativePath": "docs/lambda.md",+ "compId": "docs-lambda",+ "crumb": null+ },+ {+ "id": "legacy-babel",+ "title": "Using legacy Babel transpilation",+ "relativePath": "docs/legacy-babel-loader.md",+ "compId": "docs-legacy-babel-loader",+ "crumb": null+ },+ {+ "id": "license",+ "title": "License & Pricing",+ "relativePath": "docs/license.md",+ "compId": "docs-license",+ "crumb": null+ },+ {+ "id": "loop",+ "title": "<Loop>",+ "relativePath": "docs/loop.md",+ "compId": "docs-loop",+ "crumb": null+ },+ {+ "id": "getlottiemetadata",+ "title": "getLottieMetadata()",+ "relativePath": "docs/lottie/getlottiemetadata.md",+ "compId": "docs-lottie-getlottiemetadata",+ "crumb": null+ },+ {+ "id": "lottie-index",+ "title": "@remotion/lottie",+ "relativePath": "docs/lottie/index.md",+ "compId": "docs-lottie-index",+ "crumb": null+ },+ {+ "id": "lottie-comp",+ "title": "<Lottie>",+ "relativePath": "docs/lottie/lottie-comp.md",+ "compId": "docs-lottie-lottie-comp",+ "crumb": null+ },+ {+ "id": "lottie-lottiefiles",+ "title": "Finding Lottie files to use",+ "relativePath": "docs/lottie/lottie-lottiefiles.md",+ "compId": "docs-lottie-lottie-lottiefiles",+ "crumb": null+ },+ {+ "id": "lottie-remote",+ "title": "Loading Lottie animations from a URL",+ "relativePath": "docs/lottie/lottie-remote.md",+ "compId": "docs-lottie-lottie-remote",+ "crumb": null+ },+ {+ "id": "lottie-staticfile",+ "title": "Loading Lottie animations from staticFile()",+ "relativePath": "docs/lottie/lottie-staticfile.md",+ "compId": "docs-lottie-lottie-staticfile",+ "crumb": null+ },+ {+ "id": "measure-spring",+ "title": "measureSpring()",+ "relativePath": "docs/measure-spring.md",+ "compId": "docs-measure-spring",+ "crumb": null+ },+ {+ "id": "media-playback-error",+ "title": "Could not play video/audio with src",+ "relativePath": "docs/media-playback-error.md",+ "compId": "docs-media-playback-error",+ "crumb": null+ },+ {+ "id": "media-utils/index",+ "title": "@remotion/media-utils",+ "relativePath": "docs/media-utils/index.md",+ "compId": "docs-media-utils-index",+ "crumb": null+ },+ {+ "id": "miscellaneous/render-in-browser",+ "title": "Can I render videos in the browser?",+ "relativePath": "docs/miscellaneous/render-in-browser.md",+ "compId": "docs-miscellaneous-render-in-browser",+ "crumb": null+ },+ {+ "id": "miscellaneous/snippets/accelerated-video",+ "title": "Change the speed of a video over time",+ "relativePath": "docs/miscellaneous/snippets/accelerated-video.md",+ "compId": "docs-miscellaneous-snippets-accelerated-video",+ "crumb": null+ },+ {+ "id": "miscellaneous/snippets/adding-animations",+ "title": "Adding and subtracting animations",+ "relativePath": "docs/miscellaneous/snippets/adding-animations.md",+ "compId": "docs-miscellaneous-snippets-adding-animations",+ "crumb": null+ },+ {+ "id": "miscellaneous/snippets/fps-converter",+ "title": "FPS converter",+ "relativePath": "docs/miscellaneous/snippets/fps-converter.md",+ "compId": "docs-miscellaneous-snippets-fps-converter",+ "crumb": null+ },+ {+ "id": "miscellaneous/snippets/offthread-video-while-rendering",+ "title": "<OffthreadVideo /> while rendering",+ "relativePath": "docs/miscellaneous/snippets/offthread-video-while-rendering.md",+ "compId": "docs-miscellaneous-snippets-offthread-video-while-rendering",+ "crumb": null+ },+ {+ "id": "miscellaneous/snippets/player-in-iframe",+ "title": "Embedding a <Player> into an <iframe>",+ "relativePath": "docs/miscellaneous/snippets/player-in-iframe.md",+ "compId": "docs-miscellaneous-snippets-player-in-iframe",+ "crumb": null+ },+ {+ "id": "typescript-aliases",+ "title": "TypeScript aliases",+ "relativePath": "docs/miscellaneous/ts-aliases.md",+ "compId": "docs-miscellaneous-ts-aliases",+ "crumb": null+ },+ {+ "id": "motion-blur/camera-motion-blur",+ "title": "<CameraMotionBlur>",+ "relativePath": "docs/motion-blur/camera-motion-blur.md",+ "compId": "docs-motion-blur-camera-motion-blur",+ "crumb": null+ },+ {+ "id": "motion-blur/index",+ "title": "@remotion/motion-blur",+ "relativePath": "docs/motion-blur/index.md",+ "compId": "docs-motion-blur-index",+ "crumb": null+ },+ {+ "id": "motion-blur/motion-blur",+ "title": "<MotionBlur>",+ "relativePath": "docs/motion-blur/motion-blur.md",+ "compId": "docs-motion-blur-motion-blur",+ "crumb": null+ },+ {+ "id": "motion-blur/trail",+ "title": "<Trail>",+ "relativePath": "docs/motion-blur/trail.md",+ "compId": "docs-motion-blur-trail",+ "crumb": null+ },+ {+ "id": "noise/index",+ "title": "@remotion/noise",+ "relativePath": "docs/noise/index.md",+ "compId": "docs-noise-index",+ "crumb": null+ },+ {+ "id": "noise/noise-2d",+ "title": "noise2D()",+ "relativePath": "docs/noise/noise-2d.md",+ "compId": "docs-noise-noise-2d",+ "crumb": null+ },+ {+ "id": "noise/noise-3d",+ "title": "noise3D()",+ "relativePath": "docs/noise/noise-3d.md",+ "compId": "docs-noise-noise-3d",+ "crumb": null+ },+ {+ "id": "noise/noise-4d",+ "title": "noise4D()",+ "relativePath": "docs/noise/noise-4d.md",+ "compId": "docs-noise-noise-4d",+ "crumb": null+ },+ {+ "id": "noise-visualization",+ "title": "Noise visualization",+ "relativePath": "docs/noise-visualization.md",+ "compId": "docs-noise-visualization",+ "crumb": null+ },+ {+ "id": "non-seekable-media",+ "title": "Non-seekable media",+ "relativePath": "docs/non-seekable-media.md",+ "compId": "docs-non-seekable-media",+ "crumb": null+ },+ {+ "id": "offthreadvideo",+ "title": "<OffthreadVideo>",+ "relativePath": "docs/offthreadvideo.md",+ "compId": "docs-offthreadvideo",+ "crumb": null+ },+ {+ "id": "webpack",+ "title": "Custom Webpack config",+ "relativePath": "docs/overwriting-webpack-config.md",+ "compId": "docs-overwriting-webpack-config",+ "crumb": null+ },+ {+ "id": "parametrized-rendering",+ "title": "Parametrized rendering",+ "relativePath": "docs/parametrized-rendering.md",+ "compId": "docs-parametrized-rendering",+ "crumb": null+ },+ {+ "id": "paths/evolve-path",+ "title": "evolvePath()",+ "relativePath": "docs/paths/evolve-path.md",+ "compId": "docs-paths-evolve-path",+ "crumb": null+ },+ {+ "id": "paths/extend-viewbox",+ "title": "extendViewBox()",+ "relativePath": "docs/paths/extend-viewbox.md",+ "compId": "docs-paths-extend-viewbox",+ "crumb": null+ },+ {+ "id": "paths/get-length",+ "title": "getLength()",+ "relativePath": "docs/paths/get-length.md",+ "compId": "docs-paths-get-length",+ "crumb": null+ },+ {+ "id": "paths/get-parts",+ "title": "getParts()",+ "relativePath": "docs/paths/get-parts.md",+ "compId": "docs-paths-get-parts",+ "crumb": null+ },+ {+ "id": "paths/get-point-at-length",+ "title": "getPointAtLength()",+ "relativePath": "docs/paths/get-point-at-length.md",+ "compId": "docs-paths-get-point-at-length",+ "crumb": null+ },+ {+ "id": "paths/get-tangent-at-length",+ "title": "getTangentAtLength()",+ "relativePath": "docs/paths/get-tangent-at-length.md",+ "compId": "docs-paths-get-tangent-at-length",+ "crumb": null+ },+ {+ "id": "paths/index",+ "title": "@remotion/paths",+ "relativePath": "docs/paths/index.md",+ "compId": "docs-paths-index",+ "crumb": null+ },+ {+ "id": "paths/interpolate-path",+ "title": "interpolatePath()",+ "relativePath": "docs/paths/interpolate-path.md",+ "compId": "docs-paths-interpolate-path",+ "crumb": null+ },+ {+ "id": "paths/normalize-path",+ "title": "normalizePath()",+ "relativePath": "docs/paths/normalize-path.md",+ "compId": "docs-paths-normalize-path",+ "crumb": null+ },+ {+ "id": "paths/reverse-path",+ "title": "reversePath()",+ "relativePath": "docs/paths/reverse-path.md",+ "compId": "docs-paths-reverse-path",+ "crumb": null+ },+ {+ "id": "paths/split-parts",+ "title": "splitParts()",+ "relativePath": "docs/paths/split-parts.md",+ "compId": "docs-paths-split-parts",+ "crumb": null+ },+ {+ "id": "performance",+ "title": "Performance Tips",+ "relativePath": "docs/performance.md",+ "compId": "docs-performance",+ "crumb": null+ },+ {+ "id": "player/api",+ "title": "<Player>",+ "relativePath": "docs/player/api.md",+ "compId": "docs-player-api",+ "crumb": null+ },+ {+ "id": "autoplay",+ "title": "Combatting autoplay issues",+ "relativePath": "docs/player/autoplay.md",+ "compId": "docs-player-autoplay",+ "crumb": null+ },+ {+ "id": "best-practices",+ "title": "Player - Best practices",+ "relativePath": "docs/player/best-practices.md",+ "compId": "docs-player-best-practices",+ "crumb": null+ },+ {+ "id": "player/index",+ "title": "@remotion/player",+ "relativePath": "docs/player/index.md",+ "compId": "docs-player-index",+ "crumb": null+ },+ {+ "id": "installation",+ "title": "Installation",+ "relativePath": "docs/player/installation.md",+ "compId": "docs-player-installation",+ "crumb": null+ },+ {+ "id": "examples",+ "title": "Examples for @remotion/player",+ "relativePath": "docs/player/player-examples.md",+ "compId": "docs-player-player-examples",+ "crumb": null+ },+ {+ "id": "integration",+ "title": "Code sharing",+ "relativePath": "docs/player/player-integration.md",+ "compId": "docs-player-player-integration",+ "crumb": null+ },+ {+ "id": "player/preloading",+ "title": "Preloading assets",+ "relativePath": "docs/player/preloading.md",+ "compId": "docs-player-preloading",+ "crumb": null+ },+ {+ "id": "scaling",+ "title": "Scaling",+ "relativePath": "docs/player/scaling.md",+ "compId": "docs-player-scaling",+ "crumb": null+ },+ {+ "id": "thumbnail",+ "title": "<Thumbnail>",+ "relativePath": "docs/player/thumbnail.md",+ "compId": "docs-player-thumbnail",+ "crumb": null+ },+ {+ "id": "prefetch",+ "title": "prefetch()",+ "relativePath": "docs/prefetch.md",+ "compId": "docs-prefetch",+ "crumb": null+ },+ {+ "id": "preload-audio",+ "title": "preloadAudio()",+ "relativePath": "docs/preload/preload-audio.md",+ "compId": "docs-preload-preload-audio",+ "crumb": null+ },+ {+ "id": "preload-video",+ "title": "preloadVideo()",+ "relativePath": "docs/preload/preload-video.md",+ "compId": "docs-preload-preload-video",+ "crumb": null+ },+ {+ "id": "preload",+ "title": "@remotion/preload",+ "relativePath": "docs/preload/preload.md",+ "compId": "docs-preload-preload",+ "crumb": null+ },+ {+ "id": "prereleases",+ "title": "Testing prereleases",+ "relativePath": "docs/prereleases.md",+ "compId": "docs-prereleases",+ "crumb": null+ },+ {+ "id": "presigned-urls",+ "title": "Upload with a presigned URL",+ "relativePath": "docs/presigned-urls.md",+ "compId": "docs-presigned-urls",+ "crumb": null+ },+ {+ "id": "random",+ "title": "random()",+ "relativePath": "docs/random.md",+ "compId": "docs-random",+ "crumb": null+ },+ {+ "id": "react-18",+ "title": "Upgrade to React 18",+ "relativePath": "docs/react-18.md",+ "compId": "docs-react-18",+ "crumb": null+ },+ {+ "id": "register-root",+ "title": "registerRoot()",+ "relativePath": "docs/register-root.md",+ "compId": "docs-register-root",+ "crumb": null+ },+ {+ "id": "remotion",+ "title": "remotion",+ "relativePath": "docs/remotion.md",+ "compId": "docs-remotion",+ "crumb": null+ },+ {+ "id": "render-all",+ "title": "Render all compositions",+ "relativePath": "docs/render-all.md",+ "compId": "docs-render-all",+ "crumb": null+ },+ {+ "id": "render-as-gif",+ "title": "Render as GIF",+ "relativePath": "docs/render-as-gif.md",+ "compId": "docs-render-as-gif",+ "crumb": null+ },+ {+ "id": "render",+ "title": "Render your video",+ "relativePath": "docs/render.md",+ "compId": "docs-render",+ "crumb": null+ },+ {+ "id": "ensure-ffmpeg",+ "title": "ensureFfmpeg()",+ "relativePath": "docs/renderer/ensure-ffmpeg.md",+ "compId": "docs-renderer-ensure-ffmpeg",+ "crumb": null+ },+ {+ "id": "ensure-ffprobe",+ "title": "ensureFfprobe()",+ "relativePath": "docs/renderer/ensure-ffprobe.md",+ "compId": "docs-renderer-ensure-ffprobe",+ "crumb": null+ },+ {+ "id": "get-can-extract-frames-fast",+ "title": "getCanExtractFramesFast()",+ "relativePath": "docs/renderer/get-can-extract-frames-fast.md",+ "compId": "docs-renderer-get-can-extract-frames-fast",+ "crumb": null+ },+ {+ "id": "get-compositions",+ "title": "getCompositions()",+ "relativePath": "docs/renderer/get-compositions.md",+ "compId": "docs-renderer-get-compositions",+ "crumb": null+ },+ {+ "id": "make-cancel-signal",+ "title": "makeCancelSignal()",+ "relativePath": "docs/renderer/make-cancel-signal.md",+ "compId": "docs-renderer-make-cancel-signal",+ "crumb": null+ },+ {+ "id": "open-browser",+ "title": "openBrowser()",+ "relativePath": "docs/renderer/open-browser.md",+ "compId": "docs-renderer-open-browser",+ "crumb": null+ },+ {+ "id": "render-frames",+ "title": "renderFrames()",+ "relativePath": "docs/renderer/render-frames.md",+ "compId": "docs-renderer-render-frames",+ "crumb": null+ },+ {+ "id": "render-media",+ "title": "renderMedia()",+ "relativePath": "docs/renderer/render-media.md",+ "compId": "docs-renderer-render-media",+ "crumb": null+ },+ {+ "id": "render-still",+ "title": "renderStill()",+ "relativePath": "docs/renderer/render-still.md",+ "compId": "docs-renderer-render-still",+ "crumb": null+ },+ {+ "id": "stitch-frames-to-video",+ "title": "stitchFramesToVideo()",+ "relativePath": "docs/renderer/stitch-frames-to-video.md",+ "compId": "docs-renderer-stitch-frames-to-video",+ "crumb": null+ },+ {+ "id": "renderer",+ "title": "@remotion/renderer",+ "relativePath": "docs/renderer.md",+ "compId": "docs-renderer",+ "crumb": null+ },+ {+ "id": "resources",+ "title": "List of resources",+ "relativePath": "docs/resources.md",+ "compId": "docs-resources",+ "crumb": null+ },+ {+ "id": "scaling",+ "title": "Output scaling",+ "relativePath": "docs/scaling.md",+ "compId": "docs-scaling",+ "crumb": null+ },+ {+ "id": "sequence",+ "title": "<Sequence>",+ "relativePath": "docs/sequence.md",+ "compId": "docs-sequence",+ "crumb": null+ },+ {+ "id": "reusability",+ "title": "Reuse components using Sequences",+ "relativePath": "docs/sequences.md",+ "compId": "docs-sequences",+ "crumb": null+ },+ {+ "id": "series",+ "title": "<Series>",+ "relativePath": "docs/series.md",+ "compId": "docs-series",+ "crumb": null+ },+ {+ "id": "skia/enable-skia",+ "title": "enableSkia()",+ "relativePath": "docs/skia/enable-skia.md",+ "compId": "docs-skia-enable-skia",+ "crumb": null+ },+ {+ "id": "skia/skia-canvas",+ "title": "<SkiaCanvas />",+ "relativePath": "docs/skia/skia-canvas.md",+ "compId": "docs-skia-skia-canvas",+ "crumb": null+ },+ {+ "id": "skia",+ "title": "@remotion/skia",+ "relativePath": "docs/skia/skia.md",+ "compId": "docs-skia-skia",+ "crumb": null+ },+ {+ "id": "slow-method-to-extract-frame",+ "title": "Slow method to extract frame",+ "relativePath": "docs/slow-method-to-extract-frame.md",+ "compId": "docs-slow-method-to-extract-frame",+ "crumb": null+ },+ {+ "id": "spline",+ "title": "Import from Spline",+ "relativePath": "docs/spline.md",+ "compId": "docs-spline",+ "crumb": null+ },+ {+ "id": "spring",+ "title": "spring()",+ "relativePath": "docs/spring.md",+ "compId": "docs-spring",+ "crumb": null+ },+ {+ "id": "ssr-legacy",+ "title": "Server-Side Rendering (v1 and v2)",+ "relativePath": "docs/ssr-legacy.md",+ "compId": "docs-ssr-legacy",+ "crumb": null+ },+ {+ "id": "ssr",+ "title": "Server-Side Rendering",+ "relativePath": "docs/ssr.md",+ "compId": "docs-ssr",+ "crumb": null+ },+ {+ "id": "staticfile-relative-paths",+ "title": "staticFile() does not support relative paths",+ "relativePath": "docs/static-file-relative-paths.md",+ "compId": "docs-static-file-relative-paths",+ "crumb": null+ },+ {+ "id": "staticfile-remote-urls",+ "title": "staticFile() does not support remote URLs",+ "relativePath": "docs/static-file-remote-urls.md",+ "compId": "docs-static-file-remote-urls",+ "crumb": null+ },+ {+ "id": "staticfile",+ "title": "staticFile()",+ "relativePath": "docs/staticfile.md",+ "compId": "docs-staticfile",+ "crumb": null+ },+ {+ "id": "still",+ "title": "<Still>",+ "relativePath": "docs/still.md",+ "compId": "docs-still",+ "crumb": null+ },+ {+ "id": "stills",+ "title": "Still images",+ "relativePath": "docs/stills.md",+ "compId": "docs-stills",+ "crumb": null+ },+ {+ "id": "support",+ "title": "Support Policy",+ "relativePath": "docs/support.md",+ "compId": "docs-support",+ "crumb": null+ },+ {+ "id": "tailwind-legacy",+ "title": "TailwindCSS v2 (Legacy)",+ "relativePath": "docs/tailwind-2.md",+ "compId": "docs-tailwind-2",+ "crumb": null+ },+ {+ "id": "tailwind",+ "title": "TailwindCSS",+ "relativePath": "docs/tailwind.md",+ "compId": "docs-tailwind",+ "crumb": null+ },+ {+ "id": "target-closed",+ "title": "'Target closed' error message",+ "relativePath": "docs/target-closed.md",+ "compId": "docs-target-closed",+ "crumb": null+ },+ {+ "id": "terminology",+ "title": "Terminology",+ "relativePath": "docs/terminology.md",+ "compId": "docs-terminology",+ "crumb": null+ },+ {+ "id": "the-fundamentals",+ "title": "The fundamentals",+ "relativePath": "docs/the-fundamentals.md",+ "compId": "docs-the-fundamentals",+ "crumb": null+ },+ {+ "id": "third-party",+ "title": "Third party integrations",+ "relativePath": "docs/third-party.md",+ "compId": "docs-third-party",+ "crumb": null+ },+ {+ "id": "three-canvas",+ "title": "<ThreeCanvas>",+ "relativePath": "docs/three-canvas.md",+ "compId": "docs-three-canvas",+ "crumb": null+ },+ {+ "id": "three",+ "title": "@remotion/three",+ "relativePath": "docs/three.md",+ "compId": "docs-three",+ "crumb": null+ },+ {+ "id": "timeline",+ "title": "Preview your video",+ "relativePath": "docs/timeline.md",+ "compId": "docs-timeline",+ "crumb": null+ },+ {+ "id": "timeout",+ "title": "Puppeteer timeout",+ "relativePath": "docs/timeout.md",+ "compId": "docs-timeout",+ "crumb": null+ },+ {+ "id": "transparent-videos",+ "title": "Transparent videos",+ "relativePath": "docs/transparent-videos.md",+ "compId": "docs-transparent-videos",+ "crumb": null+ },+ {+ "id": "defaultprops-too-big",+ "title": "defaultProps too big - could not serialize",+ "relativePath": "docs/troubleshooting/defaultprops-too-big.md",+ "compId": "docs-troubleshooting-defaultprops-too-big",+ "crumb": null+ },+ {+ "id": "loading-root-component",+ "title": "Root component Timeout",+ "relativePath": "docs/troubleshooting/loading-root-component.md",+ "compId": "docs-troubleshooting-loading-root-component",+ "crumb": null+ },+ {+ "id": "rosetta",+ "title": "Apple Silicon under Rosetta",+ "relativePath": "docs/troubleshooting/rosetta.md",+ "compId": "docs-troubleshooting-rosetta",+ "crumb": null+ },+ {+ "id": "use-audio-data",+ "title": "useAudioData()",+ "relativePath": "docs/use-audio-data.md",+ "compId": "docs-use-audio-data",+ "crumb": null+ },+ {+ "id": "use-current-frame",+ "title": "useCurrentFrame()",+ "relativePath": "docs/use-current-frame.md",+ "compId": "docs-use-current-frame",+ "crumb": null+ },+ {+ "id": "use-img-and-iframe",+ "title": "<Img> and <IFrame> tags",+ "relativePath": "docs/use-img-and-iframe.md",+ "compId": "docs-use-img-and-iframe",+ "crumb": null+ },+ {+ "id": "use-video-config",+ "title": "useVideoConfig()",+ "relativePath": "docs/use-video-config.md",+ "compId": "docs-use-video-config",+ "crumb": null+ },+ {+ "id": "use-video-texture",+ "title": "useVideoTexture()",+ "relativePath": "docs/use-video-texture.md",+ "compId": "docs-use-video-texture",+ "crumb": null+ },+ {+ "id": "using-audio",+ "title": "Using audio",+ "relativePath": "docs/using-audio.md",+ "compId": "docs-using-audio",+ "crumb": null+ },+ {+ "id": "fonts",+ "title": "Using fonts",+ "relativePath": "docs/using-fonts.md",+ "compId": "docs-using-fonts",+ "crumb": null+ },+ {+ "id": "using-randomness",+ "title": "Using randomness",+ "relativePath": "docs/using-randomness.md",+ "compId": "docs-using-randomness",+ "crumb": "Roll the dice:"+ },+ {+ "id": "version-mismatch",+ "title": "Version mismatch",+ "relativePath": "docs/version-mismatch.md",+ "compId": "docs-version-mismatch",+ "crumb": null+ },+ {+ "id": "video-manipulation",+ "title": "Video manipulation",+ "relativePath": "docs/video-manipulation.md",+ "compId": "docs-video-manipulation",+ "crumb": null+ },+ {+ "id": "video-uploads",+ "title": "Handling user video uploads",+ "relativePath": "docs/video-uploads.md",+ "compId": "docs-video-uploads",+ "crumb": null+ },+ {+ "id": "video-vs-offthreadvideo",+ "title": "<Video> vs. <OffthreadVideo>",+ "relativePath": "docs/video-vs-offthreadvideo.md",+ "compId": "docs-video-vs-offthreadvideo",+ "crumb": null+ },+ {+ "id": "video",+ "title": "<Video>",+ "relativePath": "docs/video.md",+ "compId": "docs-video",+ "crumb": null+ },+ {+ "id": "visualize-audio",+ "title": "visualizeAudio()",+ "relativePath": "docs/visualize-audio.md",+ "compId": "docs-visualize-audio",+ "crumb": null+ },+ {+ "id": "wrong-composition-mount",+ "title": "Wrongly mounted <Composition>",+ "relativePath": "docs/wrong-composition-mount.md",+ "compId": "docs-wrong-composition-mount",+ "crumb": null+ }+]\ No newline at end of filediff --git a/packages/docs/src/remotion/Article.tsx b/packages/docs/src/remotion/Article.tsxnew file mode 100644index 0000000000..ff28cc7fb2--- /dev/null+++ b/packages/docs/src/remotion/Article.tsx@@ -0,0 +1,125 @@+import React from "react";+import { AbsoluteFill, Img } from "remotion";+import { articles } from "../data/articles";+import "./font.css";++export const Article: React.FC<{+ articleRelativePath: string;+}> = ({ articleRelativePath }) => {+ const expert = articles.find((e) => e.relativePath === articleRelativePath);++ return (+ <AbsoluteFill+ style={{+ height: "100%",+ width: "100%",+ display: "flex",+ backgroundColor: "#fff",+ fontSize: 32,+ fontWeight: 700,+ justifyContent: "center",+ alignItems: "center",+ padding: 60,+ fontFamily: "GTPlanar",+ }}+ >+ <div>+ {expert.crumb ? (+ <div+ style={{+ flexDirection: "row",+ display: "flex",+ paddingLeft: 30,+ }}+ >+ <div+ style={{+ display: "inline-flex",+ flexDirection: "row",+ alignItems: "center",+ padding: "15px 30px",+ translate: "0px 30px",+ backgroundColor: "white",+ }}+ >+ {expert.crumb}+ </div>+ </div>+ ) : null}++ <div+ style={{+ display: "flex",+ flex: 1,+ flexDirection: "row",+ }}+ >+ <div+ style={{+ backgroundColor: "#0B84F3",+ display: "flex",+ padding: 50,+ minWidth: 500,+ width: "100%",+ }}+ >+ <div+ style={{+ color: "white",+ fontFamily: "GTPlanar",+ fontSize: 80,+ }}+ >+ {expert.title}+ </div>+ </div>+ </div>++ <div+ style={{+ display: "flex",+ flexDirection: "row",+ alignItems: "center",+ height: 120,+ backgroundColor: "#222",+ paddingRight: 40,+ }}+ >+ <div+ style={{+ flex: 1,+ fontFamily: "GTPlanar",+ color: "white",+ height: "100%",+ display: "flex",+ alignItems: "center",+ paddingLeft: 40,+ fontWeight: 300,+ fontSize: 20,+ marginRight: 200,+ }}+ >+ Make videos+ <br />+ programmatically+ </div>+ <div+ style={{+ height: "100%",+ display: "flex",+ justifyContent: "center",+ alignItems: "center",+ }}+ >+ <Img+ style={{+ height: 60,+ }}+ src="https://www.remotion.dev/img/remotion-white.png"+ />+ </div>+ </div>+ </div>+ </AbsoluteFill>+ );+};diff --git a/packages/docs/src/remotion/Root.tsx b/packages/docs/src/remotion/Root.tsxindex e4a536eb76..c26b27ea91 100644--- a/packages/docs/src/remotion/Root.tsx+++ b/packages/docs/src/remotion/Root.tsx@@ -1,6 +1,8 @@import React from "react";import { Folder, Still } from "remotion";+import { articles } from "../data/articles";import { experts } from "../data/experts";+import { Article } from "./Article";import { Expert } from "./Expert";export const RemotionRoot: React.FC = () => {@@ -22,7 +24,22 @@ export const RemotionRoot: React.FC = () => {);})}</Folder>- <Folder name="articles" />+ <Folder name="articles">+ {articles.map((e) => {+ return (+ <Still+ key={e.compId}+ component={Article}+ defaultProps={{+ articleRelativePath: e.relativePath,+ }}+ height={630}+ width={1200}+ id={`articles-${e.compId}`}+ />+ );+ })}+ </Folder></>);};