🎥 Make videos programmatically with React
remove 2.0 warnings
Jonny Burger7e041fd891ef
diff --git a/packages/docs/docs/2-0-migration.md b/packages/docs/docs/2-0-migration.mdindex ca09206942..bb079e2ca5 100644--- a/packages/docs/docs/2-0-migration.md+++ b/packages/docs/docs/2-0-migration.md@@ -4,10 +4,6 @@ sidebar_title: v2.0 Migrationtitle: v2.0 Breaking changes----:::warning-This function is part of Remotion 2.0 which is not yet released. The information on this page might not yet accurately reflect the current state of Remotions API.-:::warning-The following is a list of breaking changes in Remotion 2.0, as a reference for projects wanting to upgrade.## Sequences are 1 frame shorterdiff --git a/packages/docs/docs/audio-visualization.md b/packages/docs/docs/audio-visualization.mdindex d4fa3cc711..e4360a826d 100644--- a/packages/docs/docs/audio-visualization.md+++ b/packages/docs/docs/audio-visualization.md@@ -3,10 +3,6 @@ title: Audio visualizationid: audio-visualization----:::warning-This function is part of Remotion 2.0 which is not yet released. The information on this page might not yet accurately reflect the current state of Remotions API.-:::warning-Using the audio visualization APIs in Remotion 2.0, you can create animations based on the frequency of the audio. This is often used to make graphics react to the volume or sound spectrum of the music.## Import audiodiff --git a/packages/docs/docs/get-audio-data.md b/packages/docs/docs/get-audio-data.mdindex 35de9f1e95..07a0beb59f 100644--- a/packages/docs/docs/get-audio-data.md+++ b/packages/docs/docs/get-audio-data.md@@ -3,10 +3,6 @@ title: getAudioData()id: get-audio-data----:::warning-This function is part of Remotion 2.0 which is not yet released. The information on this page might not yet accurately reflect the current state of Remotions API.-:::warning-_Part of the `@remotion/media-utils`_ package of helper functions.Takes an audio `src`, loads it and returns data and metadata for the specified source.diff --git a/packages/docs/docs/get-audio-duration.md b/packages/docs/docs/get-audio-duration.mdindex 64b6532c6d..3f08a0089f 100644--- a/packages/docs/docs/get-audio-duration.md+++ b/packages/docs/docs/get-audio-duration.md@@ -3,10 +3,6 @@ title: getAudioDuration()id: get-audio-duration----:::warning-This function is part of Remotion 2.0 which is not yet released. The information on this page might not yet accurately reflect the current state of Remotions API.-:::warning-_Part of the `@remotion/media-utils`_ package of helper functions.Gets the duration in seconds of an audio source. Remotion will create an invisible `<audio>` tag, load the audio and return the duration.diff --git a/packages/docs/docs/get-input-props.md b/packages/docs/docs/get-input-props.mdindex 780d1c6ff6..5a0a3aa2c3 100644--- a/packages/docs/docs/get-input-props.md+++ b/packages/docs/docs/get-input-props.md@@ -3,10 +3,6 @@ title: getInputProps()id: get-input-props----:::warning-This component is part of Remotion 2.0 which is not yet released. The information on this page might not yet accurately reflect the current state of Remotions API.-:::warning-_Available from v2.0_.Using this method, you can retrieve inputs that you pass in from the command line using [`--props`](/docs/cli), or the [`inputProps`](/docs/ssr#render-a-video-programmatically) parameter if you are using the Node.JS API.diff --git a/packages/docs/docs/get-video-metadata.md b/packages/docs/docs/get-video-metadata.mdindex 0ad874d01b..bd50b44f3f 100644--- a/packages/docs/docs/get-video-metadata.md+++ b/packages/docs/docs/get-video-metadata.md@@ -3,10 +3,6 @@ title: getVideoMetadata()id: get-video-metadata----:::warning-This function is part of Remotion 2.0 which is not yet released. The information on this page might not yet accurately reflect the current state of Remotions API.-:::warning-_Part of the `@remotion/media-utils`_ package of helper functions.Takes a `src` to a video, loads it and returns metadata for the specified source.diff --git a/packages/docs/docs/get-waveform-portion.md b/packages/docs/docs/get-waveform-portion.mdindex 9101ea84ef..85b93e3879 100644--- a/packages/docs/docs/get-waveform-portion.md+++ b/packages/docs/docs/get-waveform-portion.md@@ -3,10 +3,6 @@ title: getWaveformPortion()id: get-waveform-portion----:::warning-This function is part of Remotion 2.0 which is not yet released. The information on this page might not yet accurately reflect the current state of Remotions API.-:::warning-_Part of the `@remotion/media-utils`_ package of helper functions.Takes bulky waveform data (for example fetched by [`getAudioData()`](get-audio-data)) and returns a trimmed and simplified version of it, for simpler visualization. This function is suitable if you only need volume data, if you need more detailed data about each frequency range, use [`visualizeAudio()`](visualize-audio).diff --git a/packages/docs/docs/gif.md b/packages/docs/docs/gif.mdindex 473f5abb90..74351a25b2 100644--- a/packages/docs/docs/gif.md+++ b/packages/docs/docs/gif.md@@ -4,10 +4,6 @@ sidebar_label: API - @remotion/giftitle: "@remotion/gif"----:::warning-This component is part of Remotion 2.0 which is not yet released. The information on this page might not yet accurately reflect the current state of Remotions API.-:::warning-You can install this package from NPM to get a component for displaying GIFs that synchronize with Remotions [`useCurrentFrame()`](use-current-frame).```consolediff --git a/packages/docs/docs/legacy-babel-loader.md b/packages/docs/docs/legacy-babel-loader.mdindex 6438849a99..62536156c2 100644--- a/packages/docs/docs/legacy-babel-loader.md+++ b/packages/docs/docs/legacy-babel-loader.md@@ -3,10 +3,6 @@ title: Using legacy Babel transpilationid: legacy-babel----:::warning-This component is part of Remotion 2.0 which is not yet released. The information on this page might not yet accurately reflect the current state of Remotions API.-:::warning-In Remotion 2.0, the traditional transpilation of Javascript and Typescript using the `babel-loader` has been replaced by the faster `esbuild-loader` by default.If you for some reason need to go back to the previous behavior, you may [override the Webpack configuration](webpack). Remember that overriding the Webpack configuration works reducer-style, where you get the default configuration in a function argument and you return the modified version of your config.diff --git a/packages/docs/docs/timeline.md b/packages/docs/docs/timeline.mdindex ead95a6c00..9add902336 100644--- a/packages/docs/docs/timeline.md+++ b/packages/docs/docs/timeline.md@@ -3,10 +3,6 @@ title: Use the timelineid: timeline----:::warning-This function is part of Remotion 2.0 which is not yet released. The information on this page might not yet accurately reflect the current state of Remotions API.-:::warning-At the bottom of the Remotion preview player, you will see a timeline.Remotions timeline has two modes: **Simple timeline** and **Rich timeline** (_default_).diff --git a/packages/docs/docs/use-audio-data.md b/packages/docs/docs/use-audio-data.mdindex fe2b57db18..d47c247307 100644--- a/packages/docs/docs/use-audio-data.md+++ b/packages/docs/docs/use-audio-data.md@@ -3,10 +3,6 @@ title: useAudioData()id: use-audio-data----:::warning-This function is part of Remotion 2.0 which is not yet released. The information on this page might not yet accurately reflect the current state of Remotions API.-:::warning-_Part of the `@remotion/media-utils`_ package of helper functions.This convienience function wraps the [`getAudioData()`](/docs/get-audio-data) function into a hook and does 3 things:diff --git a/packages/docs/docs/using-audio.md b/packages/docs/docs/using-audio.mdindex 3970a0063f..d3402d2e49 100644--- a/packages/docs/docs/using-audio.md+++ b/packages/docs/docs/using-audio.md@@ -3,10 +3,6 @@ title: Using audioid: using-audio----:::warning-This function is part of Remotion 2.0 which is not yet released. The information on this page might not yet accurately reflect the current state of Remotions API.-:::warning-## Import audioYou can import an audio file using an `import` statement:diff --git a/packages/docs/docs/visualize-audio.md b/packages/docs/docs/visualize-audio.mdindex 0a2bc5ed5b..f75619bbfc 100644--- a/packages/docs/docs/visualize-audio.md+++ b/packages/docs/docs/visualize-audio.md@@ -3,10 +3,6 @@ title: visualizeAudio()id: visualize-audio----:::warning-This function is part of Remotion 2.0 which is not yet released. The information on this page might not yet accurately reflect the current state of Remotions API.-:::warning-_Part of the `@remotion/media-utils`_ package of helper functions.This function takes in `AudioData` (preferrably fetched by the [`useAudioData()`](use-audio-data) hook) and processes it in a way that makes visualizing the audio that is playing at the current frame easy.