π₯ Make videos programmatically with React
Update video-tags.mdx
JonnyBurger634d952361a0
diff --git a/packages/docs/docs/video-tags.mdx b/packages/docs/docs/video-tags.mdxindex 9aed3e78b0..7de7604d77 100644--- a/packages/docs/docs/video-tags.mdx+++ b/packages/docs/docs/video-tags.mdx@@ -13,20 +13,20 @@ We offer three components for embedding videos into your Remotion composition:This page offers a comparison to help you decide which tag to use.-| | [`<OffthreadVideo />`](/docs/offthreadvideo) | [`<Video />`](/docs/video) <br/> [`<Audio />`](/docs/audio) <br/> (`remotion`) | [`<Video />`](/docs/media/video) <br/> [`<Audio />`](/docs/media/audio) (`@remotion/media`) |-| ---------------------------------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |-| **Based on** | Rust + FFmpeg binary | HTML5 `<video>` tag | Mediabunny, WebCodecs |-| **Frame-perfect** | β | β Not guaranteed | β |-| **Partial download of asset** | β | Only with `muted` prop | β |-| **Preview** | HTML5 `<video>` | HTML5 `<video>` | HTML5 `<video>` <br/> Soon: WebCodecs |-| **Render Speed** | Fast | Medium | <span style={{color: 'green', fontWeight: 'bold'}}> Fastest </span> |-| **Supported containers** | `.aac`, `.avi`, `.caf`, `.flac`, `.flv`, `.m4a`, `.mkv`, `.mp3`, `.mp4`, `.ogg`, `.wav`, `.webm` | `.aac`, `.flac`, `.m4a`, `.mkv`, `.mp3`, `.mp4`, `.ogg`, `.wav`, `.webm` | `.aac`, `.flac`, `.mkv`, `.mov`, `.mp3`, `.mp4`, `.ogg`, `.wav`, `.webm` |-| **Supported codecs** | AAC, AC3, AV1, FLAC, H.264, H.265, M4A, MP3, Opus, PCM, ProRes, VP8, VP9, Vorbis | AAC, FLAC, H.264, MP3, Opus, VP8, VP9, Vorbis | AAC, FLAC, H.264, MP3, Opus, VP8, VP9, Vorbis <br/><br/> Fallback to `<OffthreadVideo>` for unsupported codecs |-| **HLS Support** | No | [Only during preview](/docs/miscellaneous/snippets/hls) | Planned |-| **CORS required** | No | No | Yes |-| **Loopable** | β | β | β |-| **`playbackRate`** <br/> (Speed Change) | β | β | Planned |-| **`toneFrequency`** <br/> (Pitch Change) | Only during rendering | Only during rendering | Planned |+| | [`<OffthreadVideo />`](/docs/offthreadvideo) | [`<Video />`](/docs/video) <br/> [`<Audio />`](/docs/audio) <br/> (`remotion`) | [`<Video />`](/docs/media/video) <br/> [`<Audio />`](/docs/media/audio) (`@remotion/media`) |+| ---------------------------------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- |+| **Based on** | Rust + FFmpeg binary | HTML5 `<video>` tag | Mediabunny, WebCodecs |+| **Frame-perfect** | β | β Not guaranteed | β |+| **Partial download of asset** | β | Only with `muted` prop | β |+| **Preview** | HTML5 `<video>` | HTML5 `<video>` | WebCodecs |+| **Render Speed** | Fast | Medium | <span style={{color: 'green', fontWeight: 'bold'}}> Fastest </span> |+| **Supported containers** | `.aac`, `.avi`, `.caf`, `.flac`, `.flv`, `.m4a`, `.mkv`, `.mp3`, `.mp4`, `.ogg`, `.wav`, `.webm` | `.aac`, `.flac`, `.m4a`, `.mkv`, `.mp3`, `.mp4`, `.ogg`, `.wav`, `.webm` | `.aac`, `.flac`, `.mkv`, `.mov`, `.mp3`, `.mp4`, `.ogg`, `.wav`, `.webm` <br/><br/> Fallback to `<OffthreadVideo>` for unsupported containers |+| **Supported codecs** | AAC, AC3, AV1, FLAC, H.264, H.265, M4A, MP3, Opus, PCM, ProRes, VP8, VP9, Vorbis | AAC, FLAC, H.264, MP3, Opus, VP8, VP9, Vorbis | AAC, FLAC, H.264, MP3, Opus, VP8, VP9, Vorbis <br/><br/> Fallback to `<OffthreadVideo>` for unsupported codecs |+| **HLS Support** | No | [Only during preview](/docs/miscellaneous/snippets/hls) | Planned |+| **CORS required** | No | No | Yes |+| **Loopable** | β | β | β |+| **`playbackRate`** <br/> (Speed Change) | β | β | β |+| **`toneFrequency`** <br/> (Pitch Change) | Only during rendering | Only during rendering | Only during rendering <br/> Planned: Also in preview |## Using a different tag in preview and rendering