First of all, thanks for posting this article.
I have downloaded the source code of this article and run that on my localhost, it works fine.
Then after, i copied the code and paste that on my project, exactly same, but in my project it is not working. flash popup is not showing.
everything works fine except this: this error shows on inspect element(console mode)
Uncaught TypeError: jQuery(...).webcam is not a function
Please suggest me why ??