Is there a plugin (for a web app) to snap a picture from a web cam (windows or imac integrated cam, or an usb cam) and then upload it?
Currently am making a desktop win/mac application to take the picture, rename it and save it. Then will attempt to launch the executable or app from the web app when a picture is needed, then upload with the uploader.
But if I can save some time with a plugin, it would be wonderful.
The idea is to make the user do the operation as simple as possible.
how about a HTML control and implement a flash that can access the camera, no need for plugin and will work on most browsers.
HTML5 is your friend. https://davidwalsh.name/browser-camera
well yes when more browsers will support it. but that day has not come yet,
[quote=227425:@Bob Coleman]Seems usable to me.
I believe HTML5 is the future starting now. Flash is the past. We cannot always relish on the old. The best is to implement HTML5, and fallback with old busted as needed.
You might want to review https://forum.xojo.com/26652-can-access-the-camera-iphone-and-android/p1#p220927 . I do have a web sdk control that will give you access to the camera. This works on my Galaxy & USB camera’s on my laptop (Windows 10), but doesn’t seem to work on iOS.
Flash? Removed it last year. On my Mac/ PCs. Unless a customer does not want it explicially, no flash or Java or any other Browser Plugins or Addons are installed. I strongly suggest not to rely on yesterday’s technology.
Another thought: This would be pretty interesting for Desktop Apps or Services on Rasp Pi…
[quote=227445:@Tomas Jakobs]Flash? Removed it last year. On my Mac/ PCs. Unless a customer does not want it explicially, no flash or Java or any other Browser Plugins or Addons are installed. I strongly suggest not to rely on yesterday’s technology.
Another thought: This would be pretty interesting for Desktop Apps or Services on Rasp Pi…[/quote]
I believe a desktop app using HTMLViewer could use that code.
can’t you simply put a webfileuploader there?
If I remember correctly click it will show a panel on iOS to select a photo or make one.
Wayne, could you show a working example because i don’t understand how to implement your snapshot class.
Thanks in advance!
I hope Wayne consider our request to give us sample code on how to use his class.
I agree but as long as ie and safari don’t support it you are stuck with flash or Java. Or "I’m sorry but your browser does not support this. Use yaga yaga and install and so on "
Users should never be penalized. Indeed amazingly Apple who is boasting to embrace modernity, by not supporting fully HTML5 forces us to use insecure Flash. For Microsoft it should be noted that Edge does support getusermedia fully.
I strongly believe Flash is on its way out.
Here is how I’m using the snapshot widget https://xojo.io/c511104b25bc.
Just knew now, that you provided us the solution.
BIG THUMBS UP!