Hello, i use a script that allows a user to take a photo. I use a Shockwave Flash Object (.swf) to open the camera and i don't want to do this.
How can i do it by callin' the browser prompt that ask you to open the camera?
This is how i call the .swf file
if(ID=='webcamButton')
{
$("#webcam").html("");
$("#webcamContainer").fadeIn();
$("#webcam").webcam({
width: 320,
height: 240,
mode: "callback",
swffile: baseUrl+"js/jscam_canvas_only.swf",
onSave: saveCB,
onCapture: function ()
{
webcam.save();
},
debug: function (type, string) {
$("#webcam_status").html(type + ": " + string);
}
});
}
return false;
});