mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
www: remove webm download button on the recording meeting page
This commit is contained in:
@@ -208,12 +208,6 @@ export default function Recorder(props: RecorderProps) {
|
|||||||
if (!record) return;
|
if (!record) return;
|
||||||
|
|
||||||
return record.on("stopRecording", () => {
|
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();
|
renderMarkers();
|
||||||
});
|
});
|
||||||
}, [record]);
|
}, [record]);
|
||||||
@@ -322,16 +316,6 @@ export default function Recorder(props: RecorderProps) {
|
|||||||
<FontAwesomeIcon icon={faDownload} className="h-5 w-auto" />
|
<FontAwesomeIcon icon={faDownload} className="h-5 w-auto" />
|
||||||
</a>
|
</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 && (
|
{!hasRecorded && (
|
||||||
|
|||||||
Reference in New Issue
Block a user