www: remove webm download button on the recording meeting page

This commit is contained in:
2023-10-12 11:46:02 +02:00
committed by Mathieu Virbel
parent cc5f1c70a4
commit 1f056381a3

View File

@@ -208,12 +208,6 @@ export default function Recorder(props: RecorderProps) {
if (!record) return;
return record.on("stopRecording", () => {
const link = document.getElementById("download-recording");
if (!link) return;
link.setAttribute("href", record.getRecordedUrl());
link.setAttribute("download", "reflector-recording.webm");
link.style.visibility = "visible";
renderMarkers();
});
}, [record]);
@@ -322,16 +316,6 @@ export default function Recorder(props: RecorderProps) {
<FontAwesomeIcon icon={faDownload} className="h-5 w-auto" />
</a>
)}
{!props.transcriptId && (
<a
id="download-recording"
title="Download recording"
className="invisible text-center text-blue-400 hover:text-blue-700 ml-2 md:ml:4 p-2 rounded-lg outline-blue-400"
>
<FontAwesomeIcon icon={faDownload} className="h-5 w-auto" />
</a>
)}
</>
)}
{!hasRecorded && (