@remotion/studio
You can install this package from NPM:
- npm
- yarn
- pnpm
- bun
npm i --save-exact @remotion/studio@4.0.290
pnpm i @remotion/studio@4.0.290
bun i @remotion/studio@4.0.290
yarn --exact add @remotion/studio@4.0.290
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.APIs
The following APIs are available:
getStaticFiles()
Get a list of files in the
public
folderwatchPublicFolder()
Listen to changes in the public folder
watchStaticFile()
Listen to changes of a static file
writeStaticFile()
Save content to a file in the public directory
saveDefaultProps()
Save default props to the root file
updateDefaultProps()
Update default props in the Props editor
deleteStaticFile()
Delete a file from the public directory
restartStudio()
Restart the Studio Server.
play()
Start playback in the timeline
pause()
Pause playback in the timeline
toggle()
Toggle playback in the timeline
seek()
Jump to a position in the timeline
goToComposition()
Select a composition in the composition selector
focusDefaultPropsPath()
Scrolls to a specific field in the default props editor
reevaluateComposition()
Re-runs calculateMetadata() on the current composition