disable native download button

This commit is contained in:
MarconLP 2024-11-20 17:47:36 +01:00
parent 99706bab99
commit 0d0f220e07
No known key found for this signature in database
GPG key ID: A08A9C8B623F5EA5
3 changed files with 3 additions and 0 deletions

View file

@ -397,6 +397,7 @@ export default function Recorder({ closeModal, step, setStep }: Props) {
onPause={() => posthog?.capture("recorder: paused preview video")} onPause={() => posthog?.capture("recorder: paused preview video")}
ref={videoRef} ref={videoRef}
className="mb-4 max-h-[75vh] w-[75vw]" className="mb-4 max-h-[75vh] w-[75vw]"
controlsList="nodownload"
/> />
) : null} ) : null}
<div className="flex items-center justify-center"> <div className="flex items-center justify-center">

View file

@ -94,6 +94,7 @@ export default function VideoUploadModal() {
controls controls
ref={videoRef} ref={videoRef}
className="max-h-[0px] max-w-[15px]" className="max-h-[0px] max-w-[15px]"
controlsList="nodownload"
/> />
) : null} ) : null}
{file ? ( {file ? (

View file

@ -160,6 +160,7 @@ const VideoList: NextPage = () => {
}) })
} }
className="h-full w-full" className="h-full w-full"
controlsList="nodownload"
> >
<source src={video.video_url} /> <source src={video.video_url} />
Your browser does not support the video tag. Your browser does not support the video tag.