VideoSettings
23 Sep 20251 minute to read
Configures the video settings of the RichTextEditor.
Properties
allowedTypes string[]
Specifies the allowed file types for video selection.
Defaults to [‘.mp4’, ‘.mov’, ‘.wmv’, ‘.avi’]
height string
Specifies the height of the video.
Defaults to ‘auto’
layoutOption DisplayLayoutOptions
Specifies whether the video is inserted inline or with a break.
Defaults to ‘Inline’
maxFileSize number
Specifies the maximum file size for video uploads in bytes.
Defaults to ‘30000000’
maxHeight string|number
Defines the maximum height of the video.
Defaults to null
maxWidth string|number
Defines the maximum width of the video.
Defaults to null
minHeight string|number
Defines the minimum height of the video.
Defaults to ‘0’
minWidth string|number
Defines the minimum width of the video.
Defaults to ‘0’
path string
Specifies the path for storing and displaying video files.
Defaults to null
removeUrl string
Specifies the URL for the remove action that handles video removal on the server.
Defaults to null
resize boolean
Enables resizing for the video element.
Defaults to true
resizeByPercent boolean
Enables video resizing by percentage calculation.
Defaults to false
saveFormat SaveFormat
Specifies whether the inserted video is saved as a blob or base64.
Defaults to ‘Blob’
saveUrl string
Specifies the URL for the save action that handles uploaded video files on the server.
Defaults to null
width string
Specifies the width of the video.
Defaults to ‘auto’