jQuery-webcam icon indicating copy to clipboard operation
jQuery-webcam copied to clipboard

Add Callback "Camera started"

Open jandetlefsen opened this issue 13 years ago • 2 comments

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.

jandetlefsen avatar Feb 17 '12 05:02 jandetlefsen

Good point. I'll add an additional callback for the acceptance of the plugin as soon as my time allows.

infusion avatar Feb 17 '12 12:02 infusion

Is this callback here yet?

binarykitchen avatar Jul 12 '15 08:07 binarykitchen