Skip to content

🎥 Make videos programmatically with React

`remotion`: Wait longer if <Video> frame is late

Jonny Burgerebc5f2924ef7
diff --git a/packages/core/src/video/seek-until-right.ts b/packages/core/src/video/seek-until-right.ts
index 64ec71541e..34f2e28717 100644
--- a/packages/core/src/video/seek-until-right.ts
+++ b/packages/core/src/video/seek-until-right.ts
@@ -14,7 +14,7 @@ export const seekToTime = (element: HTMLVideoElement, desiredTime: number) => {
setTimeout(() => {
resolve(metadata.mediaTime);
- }, displayIn + 50);
+ }, displayIn + 150);
});
});