add video and audio formats #2

Closed
Modernizr opened this Issue Sep 25, 2009 · 1 comment

Projects

None yet

2 participants

@ghost
ghost commented Sep 25, 2009

Per Faruk:
"We should support everything that at least 1 browser has implemented and is a common enough format that people would use it"

for video:

  • ogg, h264

for audio:

  • ogg, mp3, wav, .m4a

I'm expecting we'll implement with a Boolean constructor so it'll be, essentially, as follows:

Modernizr.video = new Boolean(true);
Modernizr.video.ogg = true;

Modernizr.video        // true
Modernizr.video.ogg // true
Owner

media type support for audio/video. rejigger for opera compat. closed by ae7a275

@anenviousguest anenviousguest added a commit to anenviousguest/Modernizr that referenced this issue Sep 24, 2014
@anenviousguest anenviousguest Fix: atRule fix for IE7: check if window.CSSRule is defined.
Fix: handling edge cases in tests code for partial support. JSONP from 'caniuse' could contain values like 'a #2' or 'y #1', whereas code was expecting just 'a' or 'y'.
04029c9
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment