mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-23 18:29:09 +00:00
| Package | Version | Package | Version | | ---------------------- | ------- | ---------------------- | ------- | | @uppy/aws-s3-multipart | 3.12.0 | @uppy/webcam | 3.4.2 | | @uppy/core | 3.12.0 | uppy | 3.26.0 | | @uppy/transloadit | 3.7.0 | | | - meta: remove Companion's `prepublishOnly` (Mikael Finstad / #5220) - docs: document clearUploadedFiles (Merlijn Vos / #5204) - @uppy/webcam: add missing types for `recordedVideo` (Antoine du Hamel / #5208) - @uppy/core: check capabilities in clearUploadedFiles (Merlijn Vos / #5201) - @uppy/core: PartialTree - change the `maxTotalFileSize` error (Evgenia Karunus / #5203) - @uppy/transloadit: remove `updateNumberOfFilesInAssembly` (Merlijn Vos / #5202) - @uppy/aws-s3: resolve all headers on response (Merlijn Vos / #5195) - docs: Improve provider docs: OneDrive (Evgenia Karunus / #5196) |
||
|---|---|---|
| .. | ||
| src | ||
| types | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
@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
import Uppy from '@uppy/core'
import Webcam from '@uppy/webcam'
const uppy = new Uppy()
uppy.use(Webcam, {
mirror: true,
facingMode: 'user',
showRecordingLength: true,
})
Installation
$ npm install @uppy/webcam
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.