🎥 Make videos programmatically with React
Add version badges to playback rate documentation headings
Jonny Burger697291616a40
diff --git a/packages/docs/docs/loop.mdx b/packages/docs/docs/loop.mdxindex 7fc484eac0..581fc97914 100644--- a/packages/docs/docs/loop.mdx+++ b/packages/docs/docs/loop.mdx@@ -41,7 +41,7 @@ The Loop component is a high order component and accepts, besides it's children,How many frames one iteration of the loop should be long.-### `playbackRate?`+### `playbackRate?`<AvailableFrom v="4.0.528" />Changes the speed of the children within each iteration. Defaults to `1` and must remain constant across frames. Each iteration still lasts `durationInFrames` frames in the parent timeline. See [`playbackRate`](/docs/sequence#playbackrate) on [`<Sequence>`](/docs/sequence).diff --git a/packages/docs/docs/remotion/html-in-canvas.mdx b/packages/docs/docs/remotion/html-in-canvas.mdxindex 32dc40bdc1..8a239b0fc4 100644--- a/packages/docs/docs/remotion/html-in-canvas.mdx+++ b/packages/docs/docs/remotion/html-in-canvas.mdx@@ -153,7 +153,7 @@ Inherited from [`<Sequence>`](/docs/sequence#from).Inherited from [`<Sequence>`](/docs/sequence#trimbefore).-### `playbackRate?`+### `playbackRate?`<AvailableFrom v="4.0.528" />Inherited from [`<Sequence>`](/docs/sequence#playbackrate).diff --git a/packages/docs/docs/sequence.mdx b/packages/docs/docs/sequence.mdxindex 91e9f7e945..8b2d226f65 100644--- a/packages/docs/docs/sequence.mdx+++ b/packages/docs/docs/sequence.mdx@@ -216,7 +216,7 @@ export const MyVideo = () => {In the example above, `Child` mounts at composition frame `30` and receives frame `15`.-### `playbackRate?`+### `playbackRate?`<AvailableFrom v="4.0.528" />Changes the speed of the children, including their animations and media. Default: `1`.Use `2` for double speed or `0.5` for half speed. The value must be positive and finite, and must remain constant across frames.diff --git a/packages/docs/docs/series.mdx b/packages/docs/docs/series.mdxindex 3d07344a9e..5aafd5480a 100644--- a/packages/docs/docs/series.mdx+++ b/packages/docs/docs/series.mdx@@ -79,7 +79,7 @@ The offset does not apply to sequences that come before, but the sequences thatTrims frames from the beginning without changing where the sequence starts. See [`trimBefore`](/docs/sequence#trimbefore) on [`<Sequence>`](/docs/sequence).-### `playbackRate?`+### `playbackRate?`<AvailableFrom v="4.0.528" />Changes the speed of the children. Defaults to `1` and must remain constant across frames. See [`playbackRate`](/docs/sequence#playbackrate) on [`<Sequence>`](/docs/sequence).The sequence's duration and the next sequence's start remain unchanged. Setting `playbackRate` on `<Series>` speeds up the whole series, including transitions between its sequences.