π₯ Make videos programmatically with React
`@remotion/media`: Don't support toneFrequency during preview
JonnyBurger00936439d941
diff --git a/packages/docs/docs/media/audio.mdx b/packages/docs/docs/media/audio.mdxindex 5fdbec945f..e864322ece 100644--- a/packages/docs/docs/media/audio.mdx+++ b/packages/docs/docs/media/audio.mdx@@ -215,6 +215,10 @@ A `toneFrequency` of 0.5 would lower the pitch by half, and a `toneFrequency` ofThe value must stay the same across the entire time the video tag is mounted.+:::warn+Only works during rendering.+:::+### `fallbackHtml5AudioProps?`When a [fallback to `<Html5Audio>` from `remotion`](/docs/media/fallback) happens, this prop allows you to pass props to the fallback `<Html5Audio>` component.diff --git a/packages/docs/docs/media/video.mdx b/packages/docs/docs/media/video.mdxindex 1d62e59761..1d10d80af1 100644--- a/packages/docs/docs/media/video.mdx+++ b/packages/docs/docs/media/video.mdx@@ -251,9 +251,8 @@ A `toneFrequency` of 0.5 would lower the pitch by half, and a `toneFrequency` ofThe value must stay the same across the entire time the video tag is mounted.-:::note-Currently only works during rendering.-Planning to support it during preview as well.+:::warn+Only works during rendering.:::### `fallbackOffthreadVideoProps?`@@ -286,6 +285,7 @@ Pass this prop to disable the fallback and fail the render instead.## See also- [Source code for this component](https://github.com/remotion-dev/remotion/blob/main/packages/media/src/video/video.tsx)+- [Comparison of video tags](/docs/video-tags)- [`<Audio>` (from `@remotion/media`)](/docs/media/audio)- [`<Html5Video>` (from `remotion`)](/docs/html5-video)- [`<OffthreadVideo>`](/docs/offthreadvideo)diff --git a/packages/docs/docs/video-tags.mdx b/packages/docs/docs/video-tags.mdxindex a3579a0b91..592b642806 100644--- a/packages/docs/docs/video-tags.mdx+++ b/packages/docs/docs/video-tags.mdx@@ -26,7 +26,7 @@ This page offers a comparison to help you decide which tag to use.| **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 |+| **`toneFrequency`** <br/> (Pitch Change) | Only during rendering | Only during rendering | Only during rendering |## Using a different tag in preview and rendering