mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-22 17:58:05 +00:00
- uppy@0.26.0 - @uppy/aws-s3-multipart@0.26.0 - @uppy/aws-s3@0.26.0 - @uppy/core@0.26.0 - @uppy/dashboard@0.26.0 - @uppy/drag-drop@0.26.0 - @uppy/dropbox@0.26.0 - @uppy/file-input@0.26.0 - @uppy/form@0.26.0 - @uppy/golden-retriever@0.26.0 - @uppy/google-drive@0.26.0 - @uppy/informer@0.26.0 - @uppy/instagram@0.26.0 - @uppy/progress-bar@0.26.0 - @uppy/provider-views@0.26.0 - @uppy/react@0.26.0 - @uppy/redux-dev-tools@0.26.0 - @uppy/server-utils@0.26.0 - @uppy/status-bar@0.26.0 - @uppy/store-default@0.26.0 - @uppy/store-redux@0.26.0 - @uppy/thumbnail-generator@0.26.0 - @uppy/transloadit@0.26.0 - @uppy/tus@0.26.0 - @uppy/url@0.26.0 - @uppy/utils@0.26.0 - @uppy/webcam@0.26.0 - @uppy/xhr-upload@0.26.0 |
||
|---|---|---|
| .. | ||
| src | ||
| types | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
@uppy/webcam
The Webcam plugin for Uppy lets you take photos and record videos with a built-in camera on desktop and mobile devices.
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
Example
const Uppy = require('@uppy/core')
const Webcam = require('@uppy/webcam')
const uppy = Uppy()
uppy.use(Webcam, {
mirror: true,
facingMode: 'user'
})
Installation
$ npm install @uppy/webcam --save
We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.
Alternatively, you can also use this plugin in a pre-built bundle from Transloadit's CDN: Edgly. In that case Uppy will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.
Documentation
Documentation for this plugin can be found on the Uppy website.