VideoScale interface

The video scaling information.

Properties

height

The desired output video height.

mode

Describes the video scaling mode to be applied. Default mode is 'Pad'. If the mode is 'Pad' or 'Stretch' then both width and height must be specified. Else if the mode is 'PreserveAspectRatio' then only one of width or height need be provided.

width

The desired output video width.

Property Details

height

The desired output video height.

height?: string

Property Value

string

mode

Describes the video scaling mode to be applied. Default mode is 'Pad'. If the mode is 'Pad' or 'Stretch' then both width and height must be specified. Else if the mode is 'PreserveAspectRatio' then only one of width or height need be provided.

mode?: string

Property Value

string

width

The desired output video width.

width?: string

Property Value

string