Merge branch 'main' of github.com:Monadical-SAS/reflector into sara/recorder-memory

This commit is contained in:
Sara
2023-10-13 11:05:02 +02:00
20 changed files with 1629 additions and 1014 deletions

View File

@@ -198,13 +198,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]);
@@ -313,16 +306,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 && (