HomePhuks

Trying both wav and mp3 for instaudio expandos

Authored by Polsaker on Dec 25 2018, 8:16 PM.

Description

Trying both wav and mp3 for instaudio expandos

Details

Committed
PolsakerDec 25 2018, 8:16 PM
Pushed
PolsakerDec 25 2018, 8:16 PM
Parents
rTH00bdbe6677a0: Allowing webm uploads. Closes T468
Branches
Unknown
Tags
Unknown

Event Timeline

AOU added a subscriber: AOU.Dec 25 2018, 8:19 PM

I think the most common audio files people will use are .mp3, .wav and .aif (.aiff on macOS)

I don't think browsers can play .aiff

According to the <audio> tag specification, only audio/mpeg, audio/ogg and audio/wav mime-types are allowed, that doesn't cover .aif/aiff so even if I added support for those files here as a third <source> tag it just wouldn't work. I'll add ogg.

AOU added a comment.Dec 25 2018, 10:02 PM

Fair enough. Though there are a bunch of audio file format (aiff, flac...) not supported by the <audio> tag specification, they are still playing within different web browsers.

Well, my browser for once (Chromium, latest version) won't play any flac or aiff. It just downloads the file but it won't play it