Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

+ mp3 & WebM audio formats #1078

Closed
wants to merge 1 commit into from

4 participants

Tom Byrer Paul Irish Sindre Sorhus Nicolas Gallagher
Tom Byrer

https://developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements
http://html5doctor.com/native-audio-in-the-browser/
http://transom.org/?p=26567

Silly IE9, liking only mp3 & wave. Refrained from adding wave format; usually .zipped & meant for downloading to be used by audio editors, very rarely used for live streaming, if ever.

WebM perhaps is uncommon as an audio format, but those encoding for WebM video might notice they can do audio also.

Tom Byrer tomByrer + audio formats: https://developer.mozilla.org/En/Media_formats_suppo…
…rted_by_the_audio_and_video_elements http://html5doctor.com/native-audio-in-the-browser/

Refrained from adding wave format; usually .zipped & meant for downloading to be used by audio editors, very rarely used for live streaming.
aeeae4c
Paul Irish
Owner

So there is no evidence any browser needs these. But I also dont see much harm in including them.

Sindre Sorhus

But why add the extra bloat if it's most probably not necessary? It should at least be tested that it's actually needed before being added in.

The .htaccess is loaded on every single request, so you don't want to bloat it too much:

Also, the .htaccess file is loaded every time a document is requested.

Nicolas Gallagher
Owner

Is there any evidence to suggest that this is actually needed?

Nicolas Gallagher
Owner

Given the lack of follow up, I have to close this.

Nicolas Gallagher necolas closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 1, 2012
  1. Tom Byrer

    + audio formats: https://developer.mozilla.org/En/Media_formats_suppo…

    tomByrer authored
    …rted_by_the_audio_and_video_elements http://html5doctor.com/native-audio-in-the-browser/
    
    Refrained from adding wave format; usually .zipped & meant for downloading to be used by audio editors, very rarely used for live streaming.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  .htaccess
2  .htaccess
View
@@ -97,7 +97,9 @@ AddType application/json json
# Audio
AddType audio/ogg oga ogg
+AddType audio/mp3 mp3
AddType audio/mp4 m4a f4a f4b
+AddType audio/webm webm
# Video
AddType video/ogg ogv
Something went wrong with that request. Please try again.