Search code examples
google-chromebrowserwebcamcamera

Browser says "Camera Blocked to protect your privacy"


Browser says "Camera Blocked to protect your privacy"

My project include using user camera and when i access application from localhost camera works fine but when accessing through ipaddress, the browser by default blocks the camera and other resource.. how can i allow them for my application.

enter image description here

My application is for an organization who will be accessing the application using ipaddress. Thank you for reading and your help. :)


Solution

    1. type url chrome://flags/#unsafely-treat-insecure-origin-as-secure
    2. Enter url in the textarea
    3. Choose Enabled in the select option Click image link bellow to see detail

    example