Created
May 29, 2015 15:55
-
-
Save DaveVoyles/2d16dad3dd3ac1369aa2 to your computer and use it in GitHub Desktop.
Checking for getuserMedia
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (Modernizr.getusermedia) { | |
var getUM = Modernizr.prefixed('getUserMedia', navigator); | |
getUM({video: true}, function( //... | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment