Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add video and audio formats #2

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

add video and audio formats #2

Modernizr opened this issue Sep 25, 2009 · 1 comment

Comments

@Modernizr
Copy link
Collaborator

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
@paulirish
Copy link
Member

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

paulirish pushed a commit that referenced this issue Oct 15, 2012
fix small porting errors.
anenviousguest added a commit to anenviousguest/Modernizr that referenced this issue Sep 24, 2014
Fix: handling edge cases in tests code for partial support. JSONP from 'caniuse' could contain values like 'a Modernizr#2' or 'y Modernizr#1', whereas code was expecting just 'a' or 'y'.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant