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.
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
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.