tenfourfox/webapprt/test/chrome/getUserMedia.html
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

22 lines
546 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<title>getUserMedia Test App</title>
<meta charset="utf-8">
</head>
<body>
<span id="msg"></span>
<script>
navigator.mozGetUserMedia({ video: true, audio: true, fake: true },
function(localMediaStream) {
document.getElementById("msg").textContent = window.URL.createObjectURL(localMediaStream);
},
function(err) {
document.getElementById("msg").textContent = err;
});
</script>
<h1>getUserMedia Test App</h1>
</body>
</html>