问题
I have a requirement of recording video via web cam, on my webpage. What are the available plugins for the same. My website is developed using Ruby on Rails framework
Regards, Pankaj
回答1:
If an HTML5 solution could be suitable for you, you can take a look to WebRTC (currently supported in Chrome, Firefox and Opera).
You can find a good tutorial here: http://www.html5rocks.com/en/tutorials/getusermedia/intro/
回答2:
The first hit on searching "webcam plugin": http://www.xarg.org/project/jquery-webcam-plugin/ As it is using JavaScript it is easy to include in Rails.
Many others appear in the results ...
回答3:
Another option is to use the Nimbb widget. There are a lot of tutorials showing how to embed it into a website.
来源:https://stackoverflow.com/questions/6978578/video-recording-with-webcam-on-a-webpage