@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
- yarn
- pnpm
bashnpm i @remotion/preload
bashnpm i @remotion/preload
bashpnpm i @remotion/preload
bashpnpm i @remotion/preload
bashyarn add @remotion/preload
bashyarn add @remotion/preload
Also update all the other Remotion packages to have the same version: remotion, @remotion/cli and others.
note
Make sure no package version number has a ^ character in front of it as it can lead to a version conflict.