webcam connection problem


i learn this but i cant connect to my webcam… and the webcam is on but show nothing in display…
it show — >
file:///C:/xampp/htdocs/Webcam/index.html

what my problem? pls help

Does the code in the example work? Have you tried uploading your example to a HTTPS server somewhere and see if that fixes your problem? :slight_smile:

i don have own server :pensive:
i just try to learn something online… got the offline webcam teaching?

For security reasons, the webcam may not work when tested from the local file system :frowning:

ok … i will go check for some free server to test … ur code is nice and clean … i love it … tqsm