I’m writing a vuejs application, but the camera is blocked only in Chrome, camera permission is not even requested. I get this error “violation: permissions-policy: microphone and camera not allowed”.
When I received this error in my php project before, I easily solved it with http, but I don’t know what I should do in the vuejs project. I added the meta tag in html, I added the iframe tag in my vuejs code, also used getusermedia but none of them worked. Can someone please explain how to apply permissions policy in vuejs? just on chrome It blocks my camera and microphone