Skip to content

add "audio/wav" filetype for uploads#82

Open
schellmax wants to merge 1 commit intopkalogiros:productionfrom
schellmax:patch-1
Open

add "audio/wav" filetype for uploads#82
schellmax wants to merge 1 commit intopkalogiros:productionfrom
schellmax:patch-1

Conversation

@schellmax
Copy link
Copy Markdown

wav files may appear with one of these filetypes: "audio/wave" or "audio/wav"

wav files may appear with one of these filetypes: "audio/wave" or "audio/wav"

PKAE._deps.engine = PKEng;

})( window, document, PKAudioEditor ); No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably just an additional line feed which should not get merged.

{
if (e.files[0].type == "audio/mp3"
|| e.files[0].type == "audio/wave"
|| e.files[0].type == "audio/wav"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have found some more (which I am using in my own app), not sure it it really make sense, but just to mention it:
'audio/vnd.wave' /wav/,
'audio/x-wav' /wav/,
and also
'audio/x-aiff' /aiff/,

@OPS-NeoRetro
Copy link
Copy Markdown

Please merge this, it hasn't been merged for so long

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants