I am not able to access the webcam. What should I do?

The Camera Permissions dialog box will not be displayed when the status of the camera is disabled. Follow these steps to enable camera permissions on different browsers:

Google Chrome

  1. On the Taskbar, click the camera icon to open permission dialog.
  2. Select Always allow http://hackerearth.com to access your camera.
    mceclip1.png
  3. Click Done.

For more details, read this.

Mozilla Firefox

  1. On the Address bar, click mceclip2.png.

    mceclip3.png
  2. Click mceclip4.png to enable camera permissions.
    Note: The ‘You may need to reload the page for changes to apply’ message will be displayed on the screen.
  3. Click mceclip5.png.
  4. Click Allow in the dialog box that is displayed on the screen.
    mceclip6.png

For more details, read this.

Edge

  1. Open the test link in Microsoft Edge.
  2. If the webcam is disabled, then the following dialog box appears on your screen:
    mceclip7.png
  3. Click mceclip8.png.
  4. Select the checkbox beside Always allow https://www.hackerearth.com to access your camera.
    mceclip9.png
  5. Click Done.

Safari

  1. Click Safari.
  2. Click Preference to open the Preference window.
  3. On the Toolbar, click Websites.
  4. In the General section, click Camera.
  5. In the Currently Open Websites window, select Allow beside hackerearth.com.
  6. Close the window and refresh the page.
    mceclip10.png

For more details, read this.

If this does not fix your webcam issue, try this.