user3367766
user3367766

Reputation: 91

Can a chrome extension access a webcam?

I have done some research about deloping for chrome. Is it true that only apps (not extensions) accsess the webcam?

Upvotes: 9

Views: 7342

Answers (2)

Matthew Evans
Matthew Evans

Reputation: 1

I made an account just to say that extensions cannot access the webcam in the background or in a popup, but if it's open in a window it can request permission to open the webcam.

Upvotes: 0

slim
slim

Reputation: 41271

Any web page can access the webcam (with user permission) via the HTML5 getUserMedia API as long as it has the https protocol.

https://davidwalsh.name/browser-camera

That would include extensions, apps, and ordinary web pages.

Upvotes: 4

Related Questions