packages/docs/blog/2021-05-06-remotion-2-1.mdx
import { PlayerExampleWithControls } from "../components/PlayerExampleWithControls.tsx";
This releases features new utility functions, improved developer experience and an experimental release of the Remotion Player!
interpolateColors() function 🌈Now you can easily animate between colors and mix colors to create interesting animations using interpolateColors().
I personally used it to recreate Apple's 'Spring Loaded' logo in Remotion using only <div> elements.
Thanks for Shankhadeep Dey for implementing this feature!
measureSpring() function 🌀One problem when using a spring animation for transitions
is that you don't know the duration of the animation. This is why we added a new measureSpring() function!
Now you can adjust your timings in Remotion dynamically when changing spring configurations.
Thanks to Samuel Rodriguez-Lozano for implementing this feature!
We invested time in making sure that if something goes wrong, you don't get stuck. Here are some things we did to improve your experience with Remotion:
delayRender() handle was not cleared. We also now have a troubleshooting page for timeouts and link to the documentation if you encounter the error.bundle(), getCompositions(), renderFrames() and stitchFramesToVideo() with all their parameters are now more properly documented.@remotion/playerWe are working on a Remotion player component that you can import into your React app. Today we are prereleasing the player for those who wish to experiment and provide us with feedback. Let us know what you think!
Read the documentation for @remotion/player
We now have over 450 tests, and the Remotion core has a test coverage of over 80% now. Thanks to Tobias Boner, Calvin Falter and Jonas Brunner for continuining their massive testign initiative!
We now also test across different node versions (12, 14 and 16), npm versions (v6 and v7) and FFMPEG versions (4.1 and 4.4) in addition to testing on 3 different operating systems so we can confidently release new features quickly.
For contributors, we now have a TESTING.md file.
npm init video will now setup a Remotion project with NPM, yarn create video will setup a project with Yarn.ref to <Audio/> and <Video /> tags.