Skip to main content

@remotion/preload

This package provides functions for preloading assets. While preload is not necessary for rendering, it can help with seamless playback in the <Player /> and in the Studio. Currently, three functions are implemented:

An alternative to @remotion/preload is the prefetch() API. See @remotion/preload vs prefetch() to decide which one is better for your usecase.

Installation

npm i --save-exact @remotion/preload@4.0.180
npm i --save-exact @remotion/preload@4.0.180
This assumes you are currently using v4.0.180 of Remotion.
Also update remotion and all `@remotion/*` packages to the same version.
Remove all ^ character in front of the version numbers of it as it can lead to a version conflict.