DEV Community

Discussion on: How to Access Device Cameras with JavaScript (Front and Rear)

Collapse
 
appinteractive profile image
Grzegorz Leoniec

Sadly does not work in Firefox for mobile.

Collapse
 
doug2k1 profile image
Douglas Matoso

Hi, Grzegorz. I've tested in the latest version for Android and it worked.

Anyway, here is the compatibility table: caniuse.com/#feat=stream
Support is pretty decent.

Collapse
 
appinteractive profile image
Grzegorz Leoniec

Yeah it seems that Firefox for iOS sucks. It doesn’t even appear in the compatibility table of Mozilla which is odd. Currently trying to get it working with falling back to navigator.mozGetUserMedia