Created
April 9, 2020 15:45
-
-
Save chattes/d7859901a0827821c14958ecbb126a25 to your computer and use it in GitHub Desktop.
JS Bin Check constraints // source https://jsbin.com/fodajop
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Check constraints"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
var supportedConstraints = navigator.mediaDevices.getSupportedConstraints(); | |
console.log(supportedConstraints) | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">var supportedConstraints = navigator.mediaDevices.getSupportedConstraints(); | |
console.log(supportedConstraints)</script></body> | |
</html> |
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
var supportedConstraints = navigator.mediaDevices.getSupportedConstraints(); | |
console.log(supportedConstraints) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment