The browser won't open the camera
- JavaScript
- Webcam
You may see
Why it happens
- undefined: the page isn't on https or localhost.
- NotAllowedError: you pressed Block.
- NotReadableError: another app has the camera.
- NotFoundError: there's no camera.
How to fix it
- Run
python -m http.server 8000in the folder and openhttp://localhost:8000. - Click the icon at the left of the address and allow the camera.
- Close Zoom, Meet and other tabs.
It worked if: You see yourself on the page.
Tutorials where it can happen
From the official documentation. Error names and the https rule from MDN. Sources: MDN: getUserMedia.
Didn't help? Search another error or ask us.

