Skip to content

🎥 Make videos programmatically with React

Update audio.mdx

JonnyBurger7d0448a1c4d5
diff --git a/packages/docs/docs/media/audio.mdx b/packages/docs/docs/media/audio.mdx
index 8b2b578469..e7894d617d 100644
--- a/packages/docs/docs/media/audio.mdx
+++ b/packages/docs/docs/media/audio.mdx
@@ -216,6 +216,31 @@ Currently only works during rendering.
Planning to support it during preview as well.
:::
+### `fallbackHtml5AudioProps?`
+
+When a [fallback to `<Audio>` from `remotion`](/docs/media/fallback) happens, this prop allows you to pass props to the fallback `<Audio>` component.
+Only props that are not supported by `<Audio>` from `@remotion/media` need to be specified here - props that apply for both tags will automatically be forwarded and do not need to be specified here.
+
+#### `onError?`
+
+Maps to [`<Audio />` -> `onError`](/docs/audio#onerror)
+
+#### `useWebAudioApi?`
+
+Maps to [`<Audio />` -> `useWebAudioApi`](/docs/audio#usewebaudioapi)
+
+#### `toneFrequency?`
+
+Maps to [`<Audio />` -> `toneFrequency`](/docs/audio#tonefrequency)
+
+:::note
+Subject to change: Will soon become a top-level prop.
+:::
+
+#### `acceptableTimeShiftInSeconds?`
+
+Maps to [`<Audio />` -> `acceptableTimeShiftInSeconds`](/docs/audio#acceptabletimeshiftinseconds)
+
### `disallowFallbackToHtml5Audio?`<AvailableFrom v="3.0.356" />
By default, if the video cannot be embedded using this tag, [a fallback to `<Audio>` from `remotion`](/docs/media/fallback) will be attempted.