The method for getting access to camera was initially navigator.getUserMedianavigator.mediaDevices.getUserMedia. Browser vendors have recently ruled that getUserMedia should only work on https: protocol. You'll need a SSL certificate for this API to work. Client-side APIs on mobile and desktop devices are quickly providing the same APIs. Of course our mobile devices got access to some of these AP
