<!DOCTYPE html>
<html>
<head>
</head>
<body>
<video id='an-Video'>
</video>
<script>
var anVideo = document.getElementById('an-Video');
navigator.mediaDevices.getUserMedia({video: true, audio: false})
.then((mediaStream) => anVideo.srcObject = mediaStream)
.catch((anException) => console.log('Something went wrong.'));
</script>
</body>
</html>