Skip to content

πŸŽ₯ Make videos programmatically with React

outline new projects

Jonny Burger74b6d701fc0c
diff --git a/packages/docs/blog/2022-07-14-remotion-3-1.md b/packages/docs/blog/2022-07-14-remotion-3-1.md
index d66a6c5ecc..4e8bdc69af 100644
--- a/packages/docs/blog/2022-07-14-remotion-3-1.md
+++ b/packages/docs/blog/2022-07-14-remotion-3-1.md
@@ -82,6 +82,56 @@ const value = spring({
The result will be a spring animation that will take 10 seconds!
-Why is this such a game changer? Normally, a spring animation curve is not defined by timing, but by physical parameters. It allows for super smooth animations, but complicate planning quite a bit, as the duration of a spring is not well-defined. Theoretically, a spring animation is never finished, it keeps on going forever (even though after some time the movement is barely noticeable).
+Why is this such a game changer? Normally, a spring animation curve is not defined by timing, but by physical parameters. It complicates planning quite a bit, as the duration of a spring is not well-defined. Theoretically, a spring animation is never finished, it keeps on going forever (even though after some time the movement is barely noticeable).
-We introduced [measureSpring()](/docs/measure-spring) which allows you to calculate the duration of a spring by allowing you to set a threshold.
+We introduced [measureSpring()](/docs/measure-spring) a while ago which allows you to calculate the duration of a spring by allowing you to set a threshold.
+
+But to change the duration of a spring, you had to change the physics parameters which then in turn change the animation curve!
+
+Until now - if you pass a duration to a spring, we will detect the trajectory of the curve and stretch it so it fits your duration.
+
+## `<OffthreadVideo>` component
+
+[This component](/docs/offthreadvideo) is an alternative to the [`<Video>`](/docs/video) component that extracts frames using FFMPEG and renders them inside an [`<Img>`](/docs/img) tag.
+
+We made the `<OffthreadVideo>` component in order to counteract problems with seeking and throttling that users were reporting with the `<Video>` tag. The new way improves reliability but has it's tradeoffs - read [`<OffthreadVideo> vs <Video>`](/docs/video-vs-offthreadvideo) or check out our [visual explanation on Instagram](https://www.instagram.com/p/CftaiHpMM-L/)!
+
+## `renderMedia()` returns a buffer
+
+Previously you could only save your video to a file when using the [`renderMedia()`](/docs/renderer/render-media) and [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video) APIs. Now it can also return a Node.JS [`Buffer`](https://nodejs.org/api/buffer.html)!
+
+## `@remotion/preload` package
+
+This [new package](/docs/preload) offers three APIs that are handy for preloading assets
+before they appear in the [`<Player>`](/docs/player): [`resolveRedirect()`](/docs/preload/resolve-redirect), [`preloadAudio()`](/docs/preload/preload-audio) and [`preloadVideo()`](/docs/preload/preload-video).
+
+## Sidebar improvements
+
+You can now put your [`<Composition>`](/docs/composition)'s inside [`<Folder>`](/docs/folder)'s now to organize your left sidebar neatly!
+
+If your screen real estate is tight, you may also hide the left sidebar now!
+
+## Built-in color picker
+
+In the preview, go to `Tools` -> `Color picker` to trigger an eye dropper that allows you to pick any color from the screen! Only Chrome has this feature enabled for now.
+
+## Poweruser tips
+
+- Previously you could not wrap your `<Composition>`'s in a React context (e.g. Redux), but this is supported now!
+- If you add `--log=verbose` to a Lambda render, you'll see which frames took the longest to render.
+- If you provide a file for `--props` during the preview, it will now reload the preview if the props have changed.
+- Pressing <kbd>A</kbd> in the preview goes to the beginning of the video, pressing <kbd>E</kbd> goes to the end.
+- Pressing play in the preview, then pressing <kbd>Enter</kbd> pauses the video and goes back to the point where the video started playing.
+- `<Sequence>`'s can now have a `style` prop if the `layout="none"` is not set!
+- You can [customize the binaries for Remotion Lambda renders](/docs/lambda/custom-layers), for example to switch out the Emoji font used.
+- The `registerRoot()` call can now be deferred using `delayRender()`, so asynchronous loading tasks can be completed first.
+
+## Behind the scenes
+
+We welcome Patric as our intern! As you can see on our [new team page](/about), we are now a team of three and are in the preparations of our first fundraising round.
+
+Remotion won the "Most Exciting use of Technology Award" at React Summit - thanks to you, the users, for supporting us!
+
+Going forward, we want to make Remotion even easier to use through new tools, templates and tips!
+
+And wouldn't it be nice if Remotion was faster - I'm exploring multiple options from an alternative concurrency model to a C++ based rendering solution - stay tuned for what's about to come πŸš€