jhuckaby / webcamjs

HTML5 Webcam Image Capture Library with Flash Fallback
MIT License
2.5k stars 1.11k forks source link

Webcam.js Error: Could not access webcam: AbortError: Starting video failed #296

Open boomsya opened 5 years ago

boomsya commented 5 years ago

month ago i have tested script in Firefox and Chrome under Windows10 - all ok. today i have error in Firefox 66.0.5 and don`t have error in Chrome.

Webcam.js Error: Could not access webcam: AbortError: Starting video failed AbortError: Starting video failed

test page i have opened from computer files. and i have tested with upload to web site with https protocol - web cam works. But after that i was try on site without https - error shows. after that i try on another site with https - script try to open cam with Flash version (not works). And after that i returns to first https site where i have work test-script - and i have too Flash version (not works). After that i disable Flash in script and try again - have error :(

boomsya commented 5 years ago

i have opened camera on site https://davidwalsh.name/demo/camera.php - all fine but now camera not opened. Damn, i think it is Firefox bug. Shit.

boomsya commented 5 years ago

i have tested in Chrome - not work https://davidwalsh.name/demo/camera.php after that tested in Firefox - not work after that i close all programs and try again in Chrome - work run Firefox - not work return to Chrome - not work open local test script from computer - work :))) return to Chrome to page https://davidwalsh.name/demo/camera.php - works!!!!! returns to Firefox https://davidwalsh.name/demo/camera.php - Works !!!!!

random works!!!! my mind blows

ghost commented 3 years ago

your camera is using by another browser, try close other browsers.