Trying both wav and mp3 for instaudio expandos

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

Description

Trying both wav and mp3 for instaudio expandos

Details

Committed
PolsakerTue, Dec 25, 8:16 PM
Pushed
PolsakerTue, Dec 25, 8:16 PM
Parents
rTH00bdbe6677a0: Allowing webm uploads. Closes T468
Branches
Unknown
Tags
Unknown
AOU added a subscriber: AOU.Tue, Dec 25, 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.Tue, Dec 25, 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