VideoSettingsModel

23 Sep 20251 minute to read

Interface for a class VideoSettings

Properties

allowedTypes string[]

Specifies the allowed file types for video selection.

height string

Specifies the height of the video.

layoutOption DisplayLayoutOptions

Specifies whether the video is inserted inline or with a break.

maxFileSize number

Specifies the maximum file size for video uploads in bytes.

maxHeight string|number

Defines the maximum height of the video.

maxWidth string|number

Defines the maximum width of the video.

minHeight string|number

Defines the minimum height of the video.

minWidth string|number

Defines the minimum width of the video.

path string

Specifies the path for storing and displaying video files.

removeUrl string

Specifies the URL for the remove action that handles video removal on the server.

resize boolean

Enables resizing for the video element.

resizeByPercent boolean

Enables video resizing by percentage calculation.

saveFormat SaveFormat

Specifies whether the inserted video is saved as a blob or base64.

saveUrl string

Specifies the URL for the save action that handles uploaded video files on the server.

width string

Specifies the width of the video.