From 50ba66ab9f319e92afe493dba203fe0c2d037fbf Mon Sep 17 00:00:00 2001 From: Michael Stewart Date: Sat, 26 Oct 2024 23:27:11 -0400 Subject: [PATCH 1/3] privilege ogg, use extension in submitting file --- components/recorder.js | 115 +++++++++++++++++++++-------------------- 1 file changed, 58 insertions(+), 57 deletions(-) diff --git a/components/recorder.js b/components/recorder.js index d62222d..d5766a0 100644 --- a/components/recorder.js +++ b/components/recorder.js @@ -14,7 +14,7 @@ import { FaVolumeDown, FaVolumeUp, FaRegTrashAlt, - FaDownload + FaDownload, } from 'react-icons/fa'; import { useDispatch, useSelector } from 'react-redux'; import ListGroup from 'react-bootstrap/ListGroup'; @@ -89,7 +89,7 @@ function AudioViewer({ src }) { height: '1.05em', cursor: 'pointer', color: 'red', - paddingLeft: '2px' + paddingLeft: '2px', }} onClick={toggleVolume} /> @@ -112,7 +112,7 @@ function AudioViewer({ src }) { width: '1.23em', height: '1.23em', cursor: 'pointer', - paddingLeft: '3px' + paddingLeft: '3px', }} onClick={toggleVolume} /> @@ -131,7 +131,7 @@ function AudioViewer({ src }) { cursorWidth: 3, height: 200, barGap: 3, - dragToSeek: true + dragToSeek: true, // plugins:[ // WaveSurferRegions.create({maxLength: 60}), // WaveSurferTimeLinePlugin.create({container: containerT.current}) @@ -161,7 +161,7 @@ function AudioViewer({ src }) { flexDirection: 'column', justifyContent: 'center', alignItems: 'center', - margin: '0 1rem 0 1rem' + margin: '0 1rem 0 1rem', }} >