Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix: rethrow play error so allowPlaybackRef resets on failure
AmitwalaH657d55bd7265
diff --git a/src/components/video-editor/VideoPlayback.tsx b/src/components/video-editor/VideoPlayback.tsxindex e48dc3a22..1dda82670 100644--- a/src/components/video-editor/VideoPlayback.tsx+++ b/src/components/video-editor/VideoPlayback.tsx@@ -369,7 +369,10 @@ const VideoPlayback = forwardRef<VideoPlaybackRef, VideoPlaybackProps>(if (!vid) return;try {allowPlaybackRef.current = true;- await vid.play().catch((err) => console.log("PLAY ERROR:", err));+ await vid.play().catch((err) => {+ console.log("PLAY ERROR:", err);+ throw err;+ });} catch (error) {allowPlaybackRef.current = false;throw error;