mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-24 02:38:58 +00:00
| Package | Version | Package | Version | | ---------------------- | ------- | ---------------------- | ------- | | @uppy/angular | 0.4.3 | @uppy/tus | 3.0.3 | | @uppy/aws-s3 | 3.0.3 | @uppy/url | 3.1.0 | | @uppy/companion | 4.0.4 | @uppy/webcam | 3.2.1 | | @uppy/core | 3.0.3 | @uppy/xhr-upload | 3.0.3 | | @uppy/golden-retriever | 3.0.2 | uppy | 3.2.0 | | @uppy/locales | 3.0.2 | | | - @uppy/webcam: fix bug when Dashboard is using a custom id (Antoine du Hamel / #4099) - @uppy/url: refactor `UrlUI` (Antoine du Hamel / #4143) - @uppy/url: trim whitespace around user input (Andrew McIntee / #4143) - @uppy/core: do not crash if a file is removed before the upload starts (Antoine du Hamel / #4148) - @uppy/xhr-upload: fix `Timed out waiting for socket` (Antoine du Hamel / #4150) - @uppy/golden-retriever: Fix retry upload with Golden Retriever (Merlijn Vos / #4155) - @uppy/aws-s3,@uppy/xhr-upload: fix `Cannot mark a queued request as done` in `MiniXHRUpload` (Antoine du Hamel / #4151) - meta: add a CI check to validate `yarn.lock` (Antoine du Hamel / #4154) - meta: fix outdated `yarn.lock` (Antoine du Hamel / #4153) - meta: fix `transloadit-xhr` dev example (Antoine du Hamel / #4149) - meta: Add example for Uppy with S3 and a Node.js server (Raúl Ibáñez / #4129) - @uppy/locales: Fix duplicate keys in UK_UA.js (Murderlon) - @uppy/companion: add workaround for S3 accelerated endpoints (Mikael Finstad / #4140) - @uppy/locales: Add missing Ukrainian locale entries (Andrii Bodnar / #4145) - @uppy/angular: remove unnecessary `console.log` call (Antoine du Hamel / #4139) - meta: fix bundlers workflow (Antoine du Hamel / #4144) - meta: fix default sources (Mikael Finstad / #4134) - @uppy/locales: Update pl_PL.js (Daniel Kamiński / #4136) - @uppy/core: Fix Uppy.cancelAll and Uppy.close types (Sven Grunewaldt / #4128) - @uppy/companion: fix error message (Mikael Finstad / #4125) - @uppy/xhr-upload: queue requests for socket token for remote files (Daniel Jones / #4123) Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| types | ||
| CHANGELOG.md | ||
| 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
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.