Socket
Socket
Sign inDemoInstall

@uppy/webcam

Package Overview
Dependencies
10
Maintainers
5
Versions
93
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @uppy/webcam

Uppy plugin that takes photos or records videos using the device's camera.


Version published
Weekly downloads
51K
increased by4.76%
Maintainers
5
Install size
775 kB
Weekly downloads
 

Changelog

Source

0.27.0

Released: 2018-08-11.

  • @uppy/aws-s3-multipart: Check for file existance (#981 / @bartvde)
  • @uppy/aws-s3: Abort all chunk requests when aborting the multipart upload (#967 / @pekala)
  • @uppy/aws-s3: Catch and handle errors in prepareUploadPart (#966 / @pekala)
  • @uppy/companion: ⚠️ breaking rename uppy-server to @uppy/companion (#953 / @ifedapoolarewaju)
  • @uppy/companion: google Drive — move to v3 API (#977 / @pauln)
  • @uppy/core: allow editing plugin titles (names) so that e.g. “Camera” can be translated into different languages, fixes #920 (#942 / @arturi)
  • @uppy/core: fix setPluginState (#968 / @goto-bus-stop)
  • @uppy/core: make Uppy run in React Native (by adding window !== undefined check) (@arturi / #960)
  • @uppy/core: remove all: initial — was causing issues when multiple uppy stylesheets are used (#942 / @arturi)
  • @uppy/core: ⚠️ breaking default autoProceed to false (#961 / @arturi)
  • @uppy/dashboard: downgrade drag-drop module to support folders again (#942 / @arturi)
  • @uppy/dashboard: fix animation — wait for closing animation to finish before opening modal (#942 / @arturi)
  • @uppy/dashboard: ⚠️ breaking Introduce .uppy-size--md and .uppy-size--lg breakpoint classes; throttle the function that checks for width (#942 / @arturi)
  • @uppy/dashboard: ⚠️ breaking UI overhaul: AddFiles panel, significantly improved mobile styles, (#942 / @arturi, @nqst)
  • @uppy/informer: ⚠️ breaking make it monochrome and round. always gray, no status colors (#942 / @arturi)
  • @uppy/provider-views: fix wrong 'no files available' msg flash (#938 / @ifedapoolarewaju)
  • @uppy/url: fix Url plugin reacting to wrong drop/paste events, add ignoreEvent (#942 / @arturi)
  • @uppy/webcam: add webcam permission screen i18 strings, fixes #931 (#942 / @arturi)
  • build: Add object rest spread transform (#965 / @goto-bus-stop)
  • build: Split integration tests and add one using create-react-app (#952 / @goto-bus-stop)
  • build: Upload to CDN when commit starts with “Release” (#989 / @arturi)
  • website: docs fixes and improvements @@AJvanLoon)
  • website: list bundle sizes for each package on stats page (#962 / @goto-bus-stop)

Readme

Source

@uppy/webcam

Uppy logo: a superman puppy in a pink suit

Build Status

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.

License

The MIT License.

Keywords

Last updated on 11 Aug 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc