HTML5 Webcam for your website

Usage

$('#example').photobooth().on("image",function( event, dataUrl ){ $( "#gallery" ).append( '<img src="' + dataUrl + '" >'); });
container = document.getElementById( "example" ); gallery = document.getElementById( "gallery" ); myPhotobooth = new Photobooth( container ); myPhotobooth.onImage = function( dataUrl ){ var myImage = document.createElement( "img" ); myImage.src = dataUrl; gallery.appendChild( myImage ); };

Browser Support

Photobooth is supported in all browsers that support navigator.getUserMedia. In Firefox some features are disabled for performance reasons. To override this use forceHSB. Please note: For earlier versions of Firefox it might be necessary to set navigator.media.enabled in about:config to true.
since 21 since 17 no since 12 no

Api