grails install-plugin web-snaps
IntroductionUser can take the snap-shots using Webcam through the browser.
Example UsageCreate a grails application TestPlugin using commandgrails create-app TestPluginmove to TestPlugin Directory using following commandcd TestPluginand install the plugin using following commandgrails install-plugin web-snapsEdit the index.gsp in TestPlugingrails-appviews in notepad or any editer.Add the following line in <head> tag<webcam:head/>Then whereever you require the webcam snap functionality add the following line of code.<webcam:webcamAnchor/>Thats it. run the applicationOnce application is running access the following urlhttp://localhost:8080/TestPluginyou have a webcam image click on that image, it will open pop-up window.click on snap button for taking the snap shotclick on the save button for saving the image in your desktopyou can upload this image by normal file upload.
- Identifying the flashplayer9 installed or not. if not provide Express Installation.
- Identify whether user has webcam or not.
- Create a Demo Apllication with spring security to provide user to take the snap-shot and upload of image while registration.
Authorchandra sekhar reddy[email protected]
LicenseLicensed under the Apache License, Version 2.0. See http://www.apache.org/licenses/LICENSE-2.0.
Tested on firefox 3 + ,Windows VistaFlash9 player Required in your browser.