VideoSchemaclass

new VideoSchema({ one = "video", title = "Video", types = VIDEO_TYPES, ...options }: MediaSchemaOptions)
ParamType
optionsMediaSchemaOptions
Allowed options for MediaSchema. required
    .captureFileCapture
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 (default VIDEO_TYPES).