Class VideoCommandsArgs
The class is used to configure video settings in the Rich Text Editor.
Inheritance
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class VideoCommandsArgs : Object
Remarks
This class offers configuration options for video elements, including size, source, and style within the editor.
Constructors
VideoCommandsArgs()
Declaration
public VideoCommandsArgs()
Properties
CssClass
Gets or sets the class name to be added to the video to customize it.
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string for CSS class additions. |
Remarks
CssClass provides a mechanism for styling video elements distinctively using custom CSS rules.
Height
Gets or sets the height of the video tag.
Declaration
public CommandsHeight Height { get; set; }
Property Value
Type | Description |
---|---|
CommandsHeight | An instance of CommandsHeight setting vertical dimensions. |
Remarks
Height determines the vertical extent of the video presentation in the editor.
Url
Gets or sets the src attribute of the video.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the video URL. |
Remarks
The Url property defines the source location for video playback within the editor interface.
Width
Gets or sets the width of the video tag.
Declaration
public CommandsWidth Width { get; set; }
Property Value
Type | Description |
---|---|
CommandsWidth | An instance of CommandsWidth defining the width dimensions. |
Remarks
Width controls the horizontal size of the video display area within the editor.