infusion / jQuery-webcam

A webcam wrapper plugin for jQuery
http://www.xarg.org/project/jquery-webcam-plugin/
517 stars 272 forks source link

Add Callback "Camera started" #10

Open jandetlefsen opened 12 years ago

jandetlefsen commented 12 years ago

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.

infusion commented 12 years ago

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

binarykitchen commented 9 years ago

Is this callback here yet?