🎥 Make videos programmatically with React
Merge branch 'main' of https://github.com/remotion-dev/remotion into main
Jonny Burgere6f1bbbc4034
diff --cc packages/core/src/video/VideoForRendering.tsxindex a43707a646,e895959c77..70de368b95--- a/packages/core/src/video/VideoForRendering.tsx+++ b/packages/core/src/video/VideoForRendering.tsx@@@ -142,13 -142,14 +142,17 @@@ const VideoForRenderingForwardFunctionvideoRef.current.addEventListener('seeked',() => {- // Improve me: This is ensures frame perfectness but slows down render.- // Please see this issue for context: https://github.com/remotion-dev/remotion/issues/200-- // Only affects macOS since it uses VideoToolbox decoding.- setTimeout(() => {+ if (window.navigator.platform.startsWith('Mac')) {- // If the++ // Improve me: This is ensures frame perfectness but slows down render.++ // Please see this issue for context: https://github.com/remotion-dev/remotion/issues/200++++ // Only affects macOS since it uses VideoToolbox decoding.+ setTimeout(() => {+ continueRender(handle);+ }, 100);+ } else {continueRender(handle);- }, 100);+ }},{once: true});