🎥 Make videos programmatically with React
fix broken links
Jonny Burger635b3e9c5849
diff --git a/packages/docs/docs/webcodecs/can-copy-video-track.mdx b/packages/docs/docs/webcodecs/can-copy-video-track.mdxindex 8081345303..4eec8e4d6b 100644--- a/packages/docs/docs/webcodecs/can-copy-video-track.mdx+++ b/packages/docs/docs/webcodecs/can-copy-video-track.mdx@@ -105,7 +105,7 @@ Any `rotationToApply` is in addition to an auto-rotation that is applied by defaIf `rotationToApply` is not the same amount of rotation as `inputRotation`, this function will always return `false`, because rotation cannot be performed without re-encoding.-See: [Rotating a video](/docs/webcodecs/rotate-video)+See: [Rotating a video](/docs/webcodecs/rotate-a-video)## Return valuediff --git a/packages/docs/docs/webcodecs/index.mdx b/packages/docs/docs/webcodecs/index.mdxindex f95cf93f48..41bbb24668 100644--- a/packages/docs/docs/webcodecs/index.mdx+++ b/packages/docs/docs/webcodecs/index.mdx@@ -21,7 +21,7 @@ import {UnstableDisclaimer} from './UnstableDisclaimer';In browsers that implement WebCodecs, you can use this package to:- Convert videos from one format to another (.mp4 and .webm bidirectional, .avi, .mkv, .mov as import)-- [Rotate videos](/dcos/webcodecs/rotate-a-video)+- [Rotate videos](/docs/webcodecs/rotate-a-video)- Extract audio from a video- Manipulate the pixels of a video- Fix videos that were recorded with `MediaRecorder`diff --git a/packages/docs/docs/webcodecs/rotation.mdx b/packages/docs/docs/webcodecs/rotation.mdxindex f618f90108..01d16734bd 100644--- a/packages/docs/docs/webcodecs/rotation.mdx+++ b/packages/docs/docs/webcodecs/rotation.mdx@@ -42,12 +42,12 @@ All rotation values that are multiples of 90 are supported. The video will be roVideos that have rotation metadata embedded will by default be rotated when re-encoded in order to produce a video with the correct orientation.This means you should not try to detect rotation metadata and apply the correction yourself, because it will be done automatically.-If you supply a rotation, it will be in addition to the automatic rotation correction that [`convertMedia()`](/docs/convert-media) applies by default.+If you supply a rotation, it will be in addition to the automatic rotation correction that [`convertMedia()`](/docs/webcodecs/convert-media) applies by default.## Disabling automatic rotationIf you want the video to not automatically be rotated, you need to re-apply the rotation that is the same as the rotation metadata in the video.-The rotations will negate each other, and [`convertMedia()`](/docs/convert-media) will not execute any code to apply rotation.+The rotations will negate each other, and [`convertMedia()`](/docs/webcodecs/convert-media) will not execute any code to apply rotation.```tsx twoslash title="Prevent automatic video rotation"// @module: es2022