From 31de55429d2a6f1f5a1146491502c004da3226d1 Mon Sep 17 00:00:00 2001 From: Alexander Roidl Date: Tue, 8 Nov 2022 16:56:39 +0100 Subject: [PATCH] mp3 --- .DS_Store | Bin 8196 -> 0 bytes app/mydatabase.db | Bin 8192 -> 8192 bytes app/templates/addaudio.html | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index a444a58e3c23e23a663f35a9b1269a3a583bc88e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeHMTWl3Y7@qI6lwG@Rr(DZ&iU%twSkqE!Nk!%K!c9<+)6y1@vghmyn{IcHXZM^I zYfax2kVmgEUJ^Ab`o={QpEO>gzNl5B#usDallo$!#uxwD*#oqN7ak0Ron+>lnScI& z=KuHGoy;s_4BbU@9b*lQF@>@~UQNX%l8}o$CnchuNDniQ%V%itq?PD2@PO zqB<89!c>Im2&W{Hgc77Gp;Se5#DG+%{!}zB9pRKjsm>4`J`l}}=!AlBcCw!ehcl!l z#$_CVI0ADcAYPveX0SZVXU8r+zdN=cw6=bWL`CJis`<)%rCNC~bHp3V1V&KwyN$wr z(dzR&CtI!?*}b+kHq00Gcy3_Wu2l#XY}2A42L^1{^v1fqqHFr0Zbk|eRZ)le(us); z?aisSj`qps)I?`nYjdi7eaGaasw{45*|=wT#2IzHV{-k7z5%RemOsZYIOF)G9(fs& zcr}}s&iqhzM!lh0tI@Y^+q!VOHp~~4Xw|#&f$h2eUaQ~}4)Z#nyxX4h+}#CB$Om$s zQyg{uVP2mzoLtc{0;|h$GWH`D_0{>gg6BB9J>M2)h6V#`JP@)uqQQN>R|tASV}mx? zm!o*mxAs_M)Gk@QWZLIYPt`6>u3WXYrM>g+?&&&SzhL1aP1{F7a|8P!+bZ;r*=BHL z$nbNPYufJNfs*apS;y*gjZv!}&8iw|H7wKh!D7~axM&AQd6S|{FW~ic+6q0T@-xZ- zlV-cmGlfMnl;|t;n-yih=B5qhfJkEUu}r|JEU zk+mFds!FJKM~9{llw?%-j;Qm_MVdaC^F~L>6`%UVg7i&#m%=|)4vL9)8h)@VZ@Cwi zv{_Mxgrv(fEmLVKKlrBft+LvbZj}|4Hj+lx#(LRKc8C?&1Ut!|Wv{T)>?}LSK4f38 z@7Pc5SM~?{ll{g1X8$08YSf?>b!fmcEJqS+(1!JBM;hC4KX&5*?7@B|0iFXAPy{ zRwhx%?r9?R@?@iSW0~`_--Ujnr8TaIw}8)|UcO9kSb0-2$pyibuvxu2sS*9vu(5VE z$r2$}AYzUXEnRpR$5Bk+Q9Opn zBXXX^(|88Y;d#7(*YG;tAd;TKX`I1Xyo>kn0Y1m{EPCEMi=N+Hpl2yla2?M*Og&{X z&m0`Lu9XN>$b~kD^Z(|{-~V4L?!@biBM?X63L=2Y-b`;dDPHb_F3#F1%7-Y6B*sli q3{|L@aS=f6^FIu!o}!^bCmrFGMCzgRzh4Bz`+vOuhs?Xai~j)1spMU$N!CQbzRjGOH(rQ(-MnQK-fIq(9F!-(#Xit+*r@h Vz|zFhI3BD(FSo#W^E$a8MgVbLBi#T1 delta 122 zcmZp0XmFSy%@{gS#+fm6W5N=CAvV5sEPVg@?((hU_vJszU&B{3SwTQ!vVj2CW)A^n zKIg>rRDNv+2X=O8US0=EKSMGH;*?o aGcz|eFfg&O)H63TH#9bi-@HyPh!Fr?v?AO9 diff --git a/app/templates/addaudio.html b/app/templates/addaudio.html index 600c203..3ad2f89 100755 --- a/app/templates/addaudio.html +++ b/app/templates/addaudio.html @@ -74,13 +74,13 @@ navigator.mediaDevices.getUserMedia({ audio: true }) sound.controls = 'controls'; sound.src = audioUrl; console.log(audioUrl) - sound.type = 'audio/ogg'; + sound.type = 'audio/mpeg'; document.getElementById("audio-player-container").innerHTML = sound.outerHTML; const audio = new Audio(audioUrl); //audio.play(); - let file = new File([audioBlob], "audio.ogg",{type:"audio/ogg"}); + let file = new File([audioBlob], "audio.mp3",{type:"audio/mpeg"}); let container = new DataTransfer(); container.items.add(file); document.getElementById("uploadedFile").files = container.files;