I need help with this tutorial

let video = document.querySelector("videoElement")

if(navigator.mediaDevices.getUserMedia) {
    navigator.mediaDevices.getUserMedia({ video: true })
        .then(function (stream) {
            video.srcObject = stream;
        })
        .catch (function (error) {
            console.log("Something went wrong! " + error.message)
        })
    } else {
    console.log("getUserMedia not Supported!")
}

Hi @AstralisLLC - what is the problem you need help with? Posting just a code snippet isn’t as helpful as a description of what you are trying to do :stuck_out_tongue: