Skip to content

🎥 Make videos programmatically with React

Update video.md

0xflotus9503b200cc62
diff --git a/packages/docs/docs/video.md b/packages/docs/docs/video.md
index 27d611e6db..02765e3361 100644
--- a/packages/docs/docs/video.md
+++ b/packages/docs/docs/video.md
@@ -121,9 +121,7 @@ export const MyComposition = () => {
};
```
-### `playbackRate`
-
-_Available from v2.2_
+### `playbackRate` <AvailableFrom v="2.2.0" />
You can use the `playbackRate` prop to control the speed of the video. `1` is the default and means regular speed, `0.5` slows down the video so it's twice as long and `2` speeds up the video so it's twice as fast.
@@ -161,9 +159,7 @@ export const MyComposition = () => {
};
```
-### `loop`
-
-_Available from v3.2.29_
+### `loop` <AvailableFrom v="3.2.29" />
You can use the `loop` prop to loop a video.
@@ -182,15 +178,11 @@ export const MyComposition = () => {
};
```
-## `acceptableTimeShiftInSeconds`
-
-_Available from v3.2.42_
+## `acceptableTimeShiftInSeconds` <AvailableFrom v="3.2.42" />
During [Preview](/docs/terminology#remotion-preview) or in the [Remotion Player](/docs/player), Remotion will seek the video if it gets too much out of sync with Remotion's internal time - be it due to the video loading or the page being too slow to keep up in real-time. By default, a seek is triggered if `0.45` seconds of time shift is encountered. Using this prop, you can customize the threshold.
-## `allowAmplificationDuringRender`
-
-_Available from v3.3.17_
+## `allowAmplificationDuringRender` <AvailableFrom v="3.3.17" />
Make values for [`volume`](#volume) greater than `1` result in amplification during renders.
During Preview, the volume will be limited to `1`, since the browser cannot amplify audio.