From 87a44cfb778ecc808dcc0e6c901461d764b0c443 Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Fri, 22 Mar 2024 11:14:44 -0400 Subject: [PATCH] show user a preview of the video and allow them to re-record --- frontend/src/components/recording/ScreenRecorder.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/recording/ScreenRecorder.tsx b/frontend/src/components/recording/ScreenRecorder.tsx index 4e8060a..c45c238 100644 --- a/frontend/src/components/recording/ScreenRecorder.tsx +++ b/frontend/src/components/recording/ScreenRecorder.tsx @@ -58,6 +58,8 @@ function ScreenRecorder({ const dataUrl = await blobToBase64DataUrl(completeBlob); + // downloadBlob(completeBlob); + setScreenRecordingDataUrl(dataUrl); setScreenRecorderState(ScreenRecorderState.FINISHED); };