Skip to content

The webcam is opening but its not showing in the html file #31

@bhavenjain

Description

@bhavenjain

Had to change the startVideo function to just make the webcam start working on the html file

function startVideo(){
navigator.mediaDevices.getUserMedia(
{ video: {} })
.then(function (stream) {
video.srcObject = stream;
})
err => console.error(err)
}

The Faceapi is not working. What can I do to make it work?
I'm getting this error.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions