@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
- bun
npm i --save-exact @remotion/preload@4.0.230
npm i --save-exact @remotion/preload@4.0.230
pnpm i @remotion/preload@4.0.230
pnpm i @remotion/preload@4.0.230
bun i @remotion/preload@4.0.230
bun i @remotion/preload@4.0.230
yarn --exact add @remotion/preload@4.0.230
yarn --exact add @remotion/preload@4.0.230
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.