Skip to content

🎥 Make videos programmatically with React

Update TimelineVideoInfo.tsx

JonnyBurger3cfeb7fcbc21
diff --git a/packages/studio/src/components/Timeline/TimelineVideoInfo.tsx b/packages/studio/src/components/Timeline/TimelineVideoInfo.tsx
index c27d305936..dac11470ad 100644
--- a/packages/studio/src/components/Timeline/TimelineVideoInfo.tsx
+++ b/packages/studio/src/components/Timeline/TimelineVideoInfo.tsx
@@ -1,4 +1,4 @@
-import {hasBeenAborted, WEBCODECS_TIMESCALE} from '@remotion/media-parser';
+import {WEBCODECS_TIMESCALE} from '@remotion/media-parser';
import React, {useEffect, useRef, useState} from 'react';
import {useVideoConfig} from 'remotion';
import {extractFrames} from '../../helpers/extract-frames';
@@ -412,10 +412,6 @@ export const TimelineVideoInfo: React.FC<{
});
})
.catch((e: unknown) => {
- if (hasBeenAborted(e)) {
- return;
- }
-
setError(e as Error);
})
.finally(() => {