jQuery-webcam
jQuery-webcam copied to clipboard
Add Callback "Camera started"
first off thanks for this great piece of code. i have a suggestion to make: could you add a callback for when the user accepts the flash plugin? right now i'm using the hack
debug: function (type, string) {
if ( string == 'Camera started' ){
// do something here
}
}
it would be nice form a user interface point of view, as you can hide the action button that triggers the camera, ask user to accept the flash request, etc. I can live with this hack, but maybe having a real callback would help others to come up with nicer user interfaces.
Good point. I'll add an additional callback for the acceptance of the plugin as soon as my time allows.
Is this callback here yet?