Search results

VideoSettings API in JavaScript (ES5) RichTextEditor API control

Configures the video settings of the RichTextEditor.

Properties

allowedTypes

string[]

Specifies whether to allowType based file select.

Defaults to [‘.mp4’, ‘.mov’, ‘.wmv’,‘.avi’]

height

string

Specifies whether video height.

Defaults to ‘auto’

layoutOption

string

Specifies whether insert video inline or break.

Defaults to ‘Inline’

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 of the location to store the images and refer it to display the images.

Defaults to ‘null’

removeUrl

string

Specifies the URL of remove action that receives the file information and handle the remove operation in server.

Defaults to ‘null’

resize

boolean

To enable resizing for video element.

Defaults to ‘true’

resizeByPercent

boolean

Video resizing should be done by percentage calculation.

Defaults to false

saveFormat

string

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

Defaults to ‘Blob’

saveUrl

string

Specifies the URL of save action that will receive the upload files and save in the server.

Defaults to ‘null’

width

string

Specifies whether video width.

Defaults to ‘auto’