seek()v4.0.259
在 Remotion Studio 中跳转到时间位置。
🌐 Jump to a position in time in the Remotion Studio.
如果传入的数字小于0,该值将自动限制为0。
如果传入的数字大于或等于合成的持续时间,该值将自动限制为 durationInFrames - 1。
🌐 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.
使用 useVideoConfig() 获取作品的时长。
🌐 Use useVideoConfig() to get the duration of the composition.
示例
🌐 Examples
Saving {color: 'green'} to Root.tsximport {seek } from '@remotion/studio';seek (100);
另请参阅
🌐 See also