We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8131a1 commit d9322eeCopy full SHA for d9322ee
1 file changed
packages/react/src/providers/remotion/provider.tsx
@@ -116,6 +116,7 @@ export class RemotionProvider implements MediaProviderAdapter {
116
117
protected _onFrameChange(frame: number) {
118
const { inFrame, fps } = this._src()!,
119
+ { seeking } = this._ctx.$state,
120
time = Math.max(0, frame - inFrame!) / fps!;
121
122
this._frame.set((record) => ({
@@ -127,6 +128,11 @@ export class RemotionProvider implements MediaProviderAdapter {
127
128
currentTime: time,
129
played: this._getPlayedRange(time),
130
});
131
+
132
+ if (seeking()) {
133
+ tick();
134
+ this._notify('seeked', time);
135
+ }
136
}
137
138
protected _onFrameEnd() {
0 commit comments