Page 1 of 1

mime_type update

Posted: Tue Sep 11, 2018 9:18 am
by WaldoMonster
Hoi,

I think that mime-type audio/x-flac should be changed in audio/flac.
HTML 5 audio uses audio/flac mime-type like: canPlayType('audio/flac')
Except from Safari all modern web browsers both support the audio/x-flac and audio/flac mime-type.
Because of the later implementation of flac in Safari it only support audio/flac.

Almost the same story counts for changing mime-type audio/x-wav to audio/wav.

Thanks,

Willem

Update reference:
https://developer.mozilla.org/en-US/doc ... rmats#FLAC

Re: mime_type update

Posted: Tue Sep 11, 2018 11:01 am
by James Heinrich
Thanks. I have changed it in https://github.com/JamesHeinrich/getID3 ... fd61baf12d
(also including application/gzip)

Re: mime_type update

Posted: Tue Sep 11, 2018 11:08 am
by WaldoMonster
Hello James,

Thanks for the fast update!

Willem