Skip to content

🎥 Make videos programmatically with React

startfrom

Jonny Burgerb775d4fa1027
diff --git a/packages/docs/docs/audio.mdx b/packages/docs/docs/audio.mdx
index 4a724f7249..e6cb0620b5 100644
--- a/packages/docs/docs/audio.mdx
+++ b/packages/docs/docs/audio.mdx
@@ -88,10 +88,10 @@ export const MyVideo = () => {
};
```
-### `startFrom?` / `endAt?` <DeprecatedBlock>
+### ~~`startFrom?` / `endAt?`~~
:::note Deprecated
-These props are deprecated in favor of [`trimBefore`](#trimbefore--trimafter) and [`trimAfter`](#trimbefore--trimafter). They will continue to work but you cannot use them together with the new props.
+These props have been renamed to [`trimBefore`](#trimbefore--trimafter) and [`trimAfter`](#trimbefore--trimafter) in 4.0.319. They will continue to work but you cannot use them together with the new props.
:::
`<Audio>` has two helper props you can use:
@@ -118,8 +118,6 @@ export const MyVideo = () => {
};
```
-</DeprecatedBlock>
-
### `playbackRate?`<AvailableFrom v="2.2.0"/>
You can use the `playbackRate` prop to control the speed of the audio. `1` is the default and means regular speed, `0.5` slows down the audio so it's twice as long and `2` speeds up the audio so it's twice as fast.
diff --git a/packages/docs/docs/offthreadvideo.mdx b/packages/docs/docs/offthreadvideo.mdx
index 049647ef72..44efcf023f 100644
--- a/packages/docs/docs/offthreadvideo.mdx
+++ b/packages/docs/docs/offthreadvideo.mdx
@@ -75,10 +75,10 @@ export const MyComposition = () => {
Removes a portion of the video at the end (right side). See [`trimBefore`](/docs/offthreadvideo#trimbefore) for an explanation.
-### `startFrom?` <DeprecatedBlock>
+### ~~`startFrom?`~~
:::note Deprecated
-This prop is deprecated in favor of [`trimBefore`](#trimbefore). It will continue to work but you cannot use it together with the new prop.
+This prop has been renamed to [`trimBefore`](#trimbefore) in 4.0.319. It will continue to work but you cannot use it together with the new prop.
:::
Will remove a portion of the video at the beginning.
@@ -105,18 +105,14 @@ export const MyComposition = () => {
};
```
-</DeprecatedBlock>
-
-### `endAt?` <DeprecatedBlock>
+### ~~`endAt?`~~
:::note Deprecated
-This prop is deprecated in favor of [`trimAfter`](#trimafter). It will continue to work but you cannot use it together with the new prop.
+This prop has been renamed to [`trimAfter`](#trimafter) in 4.0.319. It will continue to work but you cannot use it together with the new prop.
:::
Removes a portion of the video at the end. See [`startFrom`](/docs/offthreadvideo#startfrom) for an explanation.
-</DeprecatedBlock>
-
### `transparent?`<AvailableFrom v="4.0.0" />
If set to `true`, frames will be extracted as PNG, enabling transparency but also slowing down your render.
diff --git a/packages/docs/docs/video.mdx b/packages/docs/docs/video.mdx
index cca43e05bd..77446ac26f 100644
--- a/packages/docs/docs/video.mdx
+++ b/packages/docs/docs/video.mdx
@@ -79,10 +79,10 @@ export const MyComposition = () => {
Removes a portion of the video at the end (right side). See [`trimBefore`](/docs/video#trimbefore) for an explanation.
-### `startFrom?` <DeprecatedBlock>
+### ~~`startFrom?`~~
:::note Deprecated
-This prop is deprecated in favor of [`trimBefore`](#trimbefore). It will continue to work but you cannot use it together with the new prop.
+This prop has been renamed to [`trimBefore`](#trimbefore) in 4.0.319. It will continue to work but you cannot use it together with the new prop.
:::
Will remove a portion of the video at the beginning.
@@ -109,18 +109,14 @@ export const MyComposition = () => {
};
```
-</DeprecatedBlock>
-
-### `endAt?` <DeprecatedBlock>
+### ~~`endAt?`~~
:::note Deprecated
-This prop is deprecated in favor of [`trimAfter`](#trimAfter). It will continue to work but you cannot use it together with the new prop.
+This prop has been renamed to [`trimAfter`](#trimAfter) in 4.0.319. It will continue to work but you cannot use it together with the new prop.
:::
Removes a portion of the video at the end. See [`startFrom`](/docs/video#startfrom) for an explanation.
-</DeprecatedBlock>
-
### `style?`
You can pass any style you can pass to a native `<video>` element. For example, set its size: