From c287966ed31c57fdf4ab7f2a860cf104cdeb7944 Mon Sep 17 00:00:00 2001 From: Matthias Schelling Date: Mon, 11 Mar 2024 13:54:41 +0100 Subject: [PATCH] add "audio/wav" filetype for uploads wav files may appear with one of these filetypes: "audio/wave" or "audio/wav" --- src/engine.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine.js b/src/engine.js index b7c233a..ea76872 100755 --- a/src/engine.js +++ b/src/engine.js @@ -147,6 +147,7 @@ { if (e.files[0].type == "audio/mp3" || e.files[0].type == "audio/wave" + || e.files[0].type == "audio/wav" || e.files[0].type == "audio/mpeg" || e.files[0].type == "audio/aiff" || e.files[0].type == "audio/flac" @@ -2591,4 +2592,4 @@ PKAE._deps.engine = PKEng; -})( window, document, PKAudioEditor ); \ No newline at end of file +})( window, document, PKAudioEditor );