diff --git a/src/common/components/video-upload-threespeak/index.tsx b/src/common/components/video-upload-threespeak/index.tsx index 8be1d84a4fa..41c45d98929 100644 --- a/src/common/components/video-upload-threespeak/index.tsx +++ b/src/common/components/video-upload-threespeak/index.tsx @@ -124,9 +124,7 @@ export const VideoUpload = (props: Props & React.HTMLAttributes) /> ) : (
- {selectedFile ? ( - <> - ) : ( + {!selectedFile && "MediaRecorder" in window ? (
setShowRecorder(true)} @@ -134,6 +132,8 @@ export const VideoUpload = (props: Props & React.HTMLAttributes) {recordVideoSvg} {_t("video-upload.record-video")}
+ ) : ( + <> )}