How to Access Your Camera from a Browser Submitted by Leonard Daly on Thu, 06/21/2018 - 21:54 Use the getUserMedia method in the MediaDevices object and provide a constraint parameter. Accessing the Back Camera The back or environment camera is indicated with the constraint parameter set as: