Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
navigator.getUserMedia = navigator.webkitGetUserMedia || navigator.getUserMedia;
if(navigator.getUserMedia){
console.log('You can getUserMedia.');
} else {
alert('Your Browser cannot use getUserMedia API!!');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.