disable native download button
This commit is contained in:
parent
99706bab99
commit
0d0f220e07
3 changed files with 3 additions and 0 deletions
|
|
@ -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">
|
||||||
|
|
|
||||||
|
|
@ -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 ? (
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue