seek()v4.0.259
Jump to a position in time in the Remotion Studio.
If a number smaller than 0 is passed, the value will be automatically clamped to 0.
If a number greater than or equal to the duration of the composition is passed, the value will be automatically clamped to durationInFrames - 1.
Use useVideoConfig() to get the duration of the composition.
Examples
Seek to frame 100import {seek } from '@remotion/studio';seek (100);
Arguments
frame
The frame to jump to.
Compatibility
| Browsers | Environments | |||||
|---|---|---|---|---|---|---|
Chrome | Firefox | Safari | ||||