I’m trying to implement some webcam jquery script / plugin into my page, in firefox it works flawlessly, in IE i’m getting this error:
Expected identifier, string or number.
Line 151
Char 13
Which is the following part:
$.webcam._flash = $("#jquerywebcamflash");
}
else
{
$.webcam._flashready = true;
}
$.webcam._flash.flash(
{
src: 'jquerywebcamhelper.swf',
width: $.webcam._width,
height: $.webcam._height,
},
{
version: 8
}
);
}
Line 151 char 13 would be this one: },
the complete .js can be found here: jquery.webcam.js pastebin.com
You must remove comma from this line:
height: $.webcam._height,