@summyai/uppy-resolution-validator
v0.1.25
Published
Uppy plugin for restricting video resolutions
Readme
Uppy Resolution Validator
This plugin for Uppy gives you the ability to restrict upload videos to have a minimum resolution.
Installation
Install with npm
npm i @summyai/uppy-resolution-validatorFeatures
- Limit by minimum resolution width
- Limit by minimum resolution height
Usage/Examples
By default, the resolution validates by the minimum of 1920 x 1080.
uppy: ctx => new Uppy().use(UppyResolutionRestricter, {})Options
Set default resolutions
uppy: ctx => new Uppy().use(UppyResolutionRestricter, {
minWidth: 2048,
minHeight: 1152
})