Im trying to get webcam on my webpage.
my jquery code:
$("#camera").webcam({
width: 320,
height: 240,
mode: "callback",
swffile: "webcam/jscam.swf",
});
my body code for the webcam:
<div id="camera"></div>
im using this plugin:
http://www.xarg.org/project/jquery-webcam-plugin/
but on my page i dont see anything. it’s empty.
someone know what im missing to make the webcam work.
Thanks.
A guess, but since you’re using the callback mode did you try adding callback config like in the example ?
Also do have any error? Did you check with firebug ?
1/ Ensure you loaded the JS lib.
2/ Try to put them in document.ready :