🎥 Make videos programmatically with React
fixed blog links
Shankhadeep Deyc156caa0b0b3
diff --git a/packages/docs/blog/2021-04-09-remotion-2-0.md b/packages/docs/blog/2021-04-09-remotion-2-0.mdindex d68bdee096..e3924826ff 100644--- a/packages/docs/blog/2021-04-09-remotion-2-0.md+++ b/packages/docs/blog/2021-04-09-remotion-2-0.md@@ -18,24 +18,24 @@ author_image_url: https://avatars2.githubusercontent.com/u/1629785?s=460&u=12eb9## `remotion/media-utils` packagewith Remotion 2.0 we are introducing a new remotion package called `@remotion/media-utils` with new audio and video metadata api.-- [`getAudioData()`](get-audio-data) Takes an audio `src`, loads it and returns data and metadata for the specified source.+- [`getAudioData()`](/docs/get-audio-data) Takes an audio `src`, loads it and returns data and metadata for the specified source.-- [`getAudioDuration()`](get-audio-duration) Gets the duration in seconds of an audio source. Remotion will create an invisible `<Audio>` tag, load the audio and return the duration.+- [`getAudioDuration()`](/docs/get-audio-duration) Gets the duration in seconds of an audio source. Remotion will create an invisible `<Audio>` tag, load the audio and return the duration.-- [`getVideoMetadata()`](get-video-metadata) Takes a `src` to a video, loads it and returns metadata for the specified source.+- [`getVideoMetadata()`](/docs/get-video-metadata) Takes a `src` to a video, loads it and returns metadata for the specified source.-- [`getWaveformPortion()`](get-waveform-portion) Takes bulky waveform data (for example fetched by `getAudioData()`) and returns a trimmed and simplified version of it, for simpler visualization.+- [`getWaveformPortion()`](/docs/get-waveform-portion) Takes bulky waveform data (for example fetched by `getAudioData()`) and returns a trimmed and simplified version of it, for simpler visualization.-- [`useAudioData()`](use-audio-data) This convienience function wraps the [`getAudioData()`](/docs/get-audio-data) function into a hook and does 3 things. **1**. Keeps the audio data in a state **2**. Wraps the function in a [`delayRender()` / `continueRender()`](/docs/data-fetching) pattern **3**. Handles the case where the component gets unmounted while the fetching is in progress and a React error is thrown.+- [`useAudioData()`](/docs/use-audio-data) This convienience function wraps the [`getAudioData()`](/docs/get-audio-data) function into a hook and does 3 things. **1**. Keeps the audio data in a state **2**. Wraps the function in a [`delayRender()` / `continueRender()`](/docs/data-fetching) pattern **3**. Handles the case where the component gets unmounted while the fetching is in progress and a React error is thrown.-- [`visualizeAudio()`](visualize-audio) This function takes in `AudioData` (preferrably fetched by the `useAudioData()` hook) and processes it in a way that makes visualizing the audio that is playing at the current frame easy.+- [`visualizeAudio()`](/docs/visualize-audio) This function takes in `AudioData` (preferrably fetched by the `useAudioData()` hook) and processes it in a way that makes visualizing the audio that is playing at the current frame easy.## Rich Timeline## ESBuild loaderIn 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). Read more about [legacy babel loader](legacy-babel).+If you for some reason need to go back to the previous behavior, you may [override the Webpack configuration](/docs/webpack). Read more about [legacy babel loader](/docs/legacy-babel).<div><video width="100%" height="100%" controls playsinline autoplay="true" muted loop>