teachablemachine-community icon indicating copy to clipboard operation
teachablemachine-community copied to clipboard

[BUG]: Cannot access webcam in desktop browsers (Firefox, Chrome)

Open LiquidLemming opened this issue 4 years ago • 3 comments

Describe the bug When trying to access the webcam for image or pose projects, I get this error in Firefox's console:

Uncaught (in promise) DOMException: The fetching process for the media resource was aborted by the user agent at the user's request.

In Chrome, a similar error:

Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22

To Reproduce Steps to reproduce the behavior:

  1. Go to https://teachablemachine.withgoogle.com/train/image
  2. Click on webcam (any class).
  3. Allow camera permissions (reload if necessary).
  4. Open console, see error.

Relevant Links Apparently caused by this: https://goo.gl/LdLk22

Expected behavior I should be able to see my webcam appear in the window.

Screenshots image

Desktop (please complete the following information):

  • OS: Manjaro Linux
  • Browser: Firefox, Chrome
  • Version: 87, 90

LiquidLemming avatar Apr 15 '21 18:04 LiquidLemming

Hi @ahob85 i have the same issue with both Chrome and Firefox. I'm on Ubuntu 20.04.

kalwalt avatar Mar 20 '22 15:03 kalwalt

@ahob85 under Chrome i solved disabling all the extensions, or you can run Chrome in incognito mode.

kalwalt avatar Mar 21 '22 19:03 kalwalt

I can not use my Macbook air with the internal webcam in Chrome and Safari. :(

maperez324 avatar Oct 23 '23 17:10 maperez324