VideoSchemaclass
new VideoSchema({ one = "video", title = "Video", types = VIDEO_TYPES, ...options }: MediaSchemaOptions)| Param | Type | |
|---|---|---|
options | MediaSchemaOptions | Allowed options for MediaSchema. required |
.capture | FileCapture | Which camera a file picker for this schema opens straight away, or undefined for the normal picker. readonly |
| Return | |
|---|---|
VideoSchema | Schema that validates the file name of a video. |
Schema that validates the file name of a video.
- The extension must be one of
types(defaultVIDEO_TYPES).