CaptureVideoOptions

Encapsulates video capture configuration options.

Properties

  • limit: The maximum number of video clips the device's user can capture in a single capture operation. The value must be greater than or equal to 1 (defaults to 1).
  • duration: The maximum duration of a video clip, in seconds.

Quick Example

// limit capture operation to 3 video clips
var options = { limit: 3 };

navigator.device.capture.captureVideo(captureSuccess, captureError, options);

BlackBerry WebWorks Quirks

  • The duration parameter is not supported, so the length of recordings cannot be limited programmatically.

iOS Quirks

  • The limit parameter is not supported. Only one video is recorded per invocation.