GitPedia
jhuckaby

jhuckaby/webcamjs

HTML5 Webcam Image Capture Library with Flash Fallback

4 Releases
Latest: 10y ago
Version 1.0.6v1.0.6Latest
jhuckabyjhuckaby·10y ago·December 4, 2015
GitHub

Support for new `navigator.mediaDevices` changes in latest Firefox and Chrome. Backward compatible with legacy getUserMedia. Updated docs to reflect new Chrome 47 restriction (HTTPS only).

Version 1.0.5v1.0.5
jhuckabyjhuckaby·10y ago·November 15, 2015
GitHub

This version contains support for the new `navigator.mediaDevices` API, replacing the now-deprecated `navigator.getUserMedia`. It contains a polyfill for older browsers (currently Chrome). For details, see this [MDN document](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia). Thanks to users @NscAdmin and @MattyBalaam for reporting this issue!

Version 1.0.4v1.0.4
jhuckabyjhuckaby·10y ago·August 23, 2015
GitHub

This release contains an optional `constraints` parameter, which will override the default mandatory minimum video resolution for the user media video stream. This is an advanced feature and should only be used if you understand exactly which browsers you are targeting, and which browsers support which constraints. See the docs for details.

Version 1.0.3v1.0.3
jhuckabyjhuckaby·10y ago·August 6, 2015
GitHub

Made the form element name configurable in params (thanks to user @mex). Now explicitly stopping the media stream on page unload, to properly free up the camera on some browsers (thanks to user @inthegarage).