VS Code with live server extension
- open the project in VS Code
- open the index.html file in VS Code
- click on Go Live button in VS Code
- open
intermediate-window
folder in new VS Code window and click on Go Live button - open
final-window
folder in new VS Code window and click on Go Live button - open
http://127.0.0.1:5500
in browser open console and click onRequest camera access
button you will getError: DOMException: Permission denied
- open
http://127.0.0.1:5502
in browser open console and click onRequest camera access
button - Now your browser will request camera access, and you will get
success
message in console