From cacf78a4bb125f394bf2d6fe025966afc5660a9e Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Fri, 8 Mar 2024 11:21:30 -0500 Subject: [PATCH] show preview of videos (only works for .MP4) --- frontend/src/App.tsx | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index a6b3358..b9b528b 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -467,14 +467,27 @@ function App() { "scanning relative": appState === AppState.CODING, })} > - Reference + {inputMode === "image" && ( + Reference + )} + {inputMode === "video" && ( +