🎥 Make videos programmatically with React
Don't change media fragment based on start offset
Jonny Burgerd0f5184241e4
diff --git a/packages/core/src/video/video-fragment.ts b/packages/core/src/video/video-fragment.tsindex 658ba7397d..659de89d90 100644--- a/packages/core/src/video/video-fragment.ts+++ b/packages/core/src/video/video-fragment.ts@@ -55,7 +55,7 @@ export const appendVideoFragment = ({return actualSrc;}- actualSrc += `#t=${toSeconds(-actualFrom, fps)}`;+ actualSrc += `#t=${toSeconds(Math.max(0, -actualFrom), fps)}`;if (!Number.isFinite(duration)) {return actualSrc;