Skip to content

🎥 Make videos programmatically with React

progress with 3.2 blog post

Jonny Burger95b44902b099
diff --git a/packages/docs/blog/2022-08-09-remotion-3-2.md b/packages/docs/blog/2022-08-09-remotion-3-2.md
deleted file mode 100644
index ad9300a2d1..0000000000
--- a/packages/docs/blog/2022-08-09-remotion-3-2.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-slug: 3-2
-title: Remotion 3.2
-author: Jonny Burger
-author_title: Chief Hacker @ Remotion
-author_url: https://github.com/JonnyBurger
-author_image_url: https://avatars2.githubusercontent.com/u/1629785?s=460&u=12eb94da6070d00fc924761ce06e3a428d01b7e9&v=4
-image: https://remotion-still.herokuapp.com/PreviewCard.png?title=Remotion%203.2&description=Lottie,%20Skia%20and%20zoomable%20timeline
----
diff --git a/packages/docs/blog/2022-08-10-remotion-3-2.md b/packages/docs/blog/2022-08-10-remotion-3-2.md
new file mode 100644
index 0000000000..56ff432a66
--- /dev/null
+++ b/packages/docs/blog/2022-08-10-remotion-3-2.md
@@ -0,0 +1,138 @@
+---
+slug: 3-2
+title: Remotion 3.2
+author: Jonny Burger
+author_title: Chief Hacker @ Remotion
+author_url: https://github.com/JonnyBurger
+author_image_url: https://avatars2.githubusercontent.com/u/1629785?s=460&u=12eb94da6070d00fc924761ce06e3a428d01b7e9&v=4
+image: https://remotion-still.herokuapp.com/PreviewCard.png?title=Remotion%203.2&description=Lottie,%20Skia,%20zoomable%20timeline,%20muted%20renders,%20stability%20and%20speed
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+## Lottie support
+
+We now have a proper Lottie integration, including an official [`@remotion/lottie`](/docs/lottie) package, a typesafe component and documentation.
+With Lottie, you can import thousands of premade animations from [LottieFiles](/docs/lottie/lottiefiles) and we even made a guide on [how to import animations created in After Effects](/docs/lottie/after-effects)!
+
+To get started, install `@remotion/lottie` and import the [`<Lottie>`](/docs/lottie) component:
+
+<Tabs
+defaultValue="npm"
+values={[
+{ label: 'npm', value: 'npm', },
+{ label: 'yarn', value: 'yarn', },
+{ label: 'pnpm', value: 'pnpm', },
+]
+}>
+<TabItem value="npm">
+
+```bash
+npm i @remotion/lottie
+```
+
+ </TabItem>
+
+ <TabItem value="yarn">
+
+```bash
+yarn add @remotion/lottie
+```
+
+ </TabItem>
+
+ <TabItem value="pnpm">
+
+```bash
+pnpm i @remotion/lottie
+```
+
+ </TabItem>
+</Tabs>
+
+## React Native Skia support
+
+Using the [`@remotion/skia`](/docs/skia) package, you can now use [React Native Skia](https://shopify.github.io/react-native-skia/) in Remotion! Thanks to our collaborators [William Candillon](https://youtube.com/wcandillon) and [Christian Falch](https://twitter.com/chrfalch), Remotion is now a first-class target for React Native Skia. Check out the epic announcement video, read the docs and make your first video using:
+
+<Tabs
+defaultValue="npm"
+values={[
+{ label: 'npm', value: 'npm', },
+{ label: 'yarn', value: 'yarn', },
+{ label: 'pnpm', value: 'pnpm', },
+]
+}>
+<TabItem value="npm">
+
+```bash
+npm i @remotion/skia @shopify/react-native-skia react-native-web
+```
+
+ </TabItem>
+
+ <TabItem value="yarn">
+
+```bash
+yarn add @remotion/skia @shopify/react-native-skia react-native-web
+```
+
+ </TabItem>
+
+ <TabItem value="pnpm">
+
+```bash
+pnpm i @remotion/skia @shopify/react-native-skia react-native-web
+```
+
+ </TabItem>
+</Tabs>
+
+## Zoomable timeline
+
+Our timeline has some new features that make it behave more like traditional video editors. You can now zoom in and out of the timeline to better focus on a certain section of a video. When playing the video, the timeline moves along with the cursor. Scrubbing with the cursor or keyboard will also scroll the timeline so the cursor is always in the viewport.
+
+The other new timeline feature is that there are now ticks that appear every second, and when zoomed in, smaller ticks that denote the positions of a single frame. This should help you orient yourself when you are asking yourselves at which point of the video you are at.
+
+## Improvements to audio-only and video-only rendering
+
+You can now explicitly drop the audio of a video by passing `--muted` in the render. Videos that include no audio are now faster because we don't include a silent audio track anymore (use `--enforce-audio-track` to get the old behavior).
+
+Renders that are audio only are now faster because Remotion will not wait for the video tags to seek.
+
+Renders that are only video are now faster because no assets need to be downloaded to be included in the audio track.
+
+## Handy features
+
+- The back and forwards button now work in the preview.
+- Chrome 104 is now available on Remotion Lambda which means you can use the [handy transform shorthands](https://twitter.com/JNYBGR/status/1555055938008223744)!
+- You can now render ProRes on Remotion Lambda.
+- Remotion Lambda now has a `privacy: "no-acl"` option if you are rendering into a bucket that has the ACL feature disabled.
+- Remotion Lambda now supports a `downloadBehavior` props which makes it that when a output file link gets clicked in the browser, it will download.
+- Adding an output filename to the `npx remotion render` command is not necessary anymore, it will default to `out/{composition-id}.{extension}` now.
+- The `<Player>` has a new `moveToBeginningWhenEnded` prop that determines if the player moves back to the beginning when the video has reached the end and is not looping.
+- The `<Player>` has a new `fullscreenchange` event that allows you to
+- You can now assign a `className` to the `<Player>`.
+
+## Developer experience
+
+- New ESLint rule that warns you if you are passing a relative path or remote URL to staticFile: `staticFile("../my-file.png")` or `staticFile("https://example.com")`
+- Better error message on Remotion Lambda when the `s3:ListBucket` permission for the bucket you are rendering into is missing.
+- ESLint warning when passing a file ending in `.gif` to the `<Img>` component.
+- Better error message and [help page](/docs/lambda/troubleshooting/unrecognizedclientexception) when calling `renderMediaOnLambda()` inside another serverless function and AWS credentials are conflicting
+- Better error message and [help page](/docs/lambda/troubleshooting/bucket-disallows-acl) when rendering into a bucket that has ACL disabled but you are setting the privacy to `public` or `private`.
+
+## Notable bug fixes
+
+- The `<Player>` now works correctly in React 18 strict mode.
+- The preview server should not crash anymore in any scenario.
+- Remotion now cleans up any temporarily created files and does not pollute the hard drive.
+- Executing `npx remotion` commands outside of the project root now works.
+- `Open in VS Code` now works if the `code` command is not installed.
+- Remotion Lambda now uses less memory and is less prone to crashing when using `<Video>`'s.
+
+## Internals
+
+- The CLI configuration code has moved from `remotion` to `@remotion/cli`, which makes the `remotion` package 30% smaller.
+- We moved from `jest` to `vitest` for some packages.
+- We adopted Node.JS Corepack.