menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RichTextEditorVideoSettings - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RichTextEditorVideoSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    RichTextEditorVideoSettings
    Namespace: Syncfusion.EJ2.RichTextEditor
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RichTextEditorVideoSettings : EJTagHelper

    Constructors

    RichTextEditorVideoSettings()

    Declaration
    public RichTextEditorVideoSettings()

    Properties

    AllowedTypes

    Specifies the allowed file types for video selection.

    Declaration
    public string[] AllowedTypes { get; set; }
    Property Value
    Type Description
    System.String[]

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Height

    Specifies the height of the video.

    Declaration
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "auto"

    LayoutOption

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

    Declaration
    public DisplayLayoutOptions LayoutOption { get; set; }
    Property Value
    Type Description
    DisplayLayoutOptions

    The default value is DisplayLayoutOptions.Inline

    MaxHeight

    Defines the maximum height of the video.

    Declaration
    public string MaxHeight { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    MaxWidth

    Defines the maximum width of the video.

    Declaration
    public string MaxWidth { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    MinHeight

    Defines the minimum height of the video.

    Declaration
    public string MinHeight { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "0"

    MinWidth

    Defines the minimum width of the video.

    Declaration
    public string MinWidth { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "0"

    Path

    Specifies the path for storing and displaying video files.

    Declaration
    public string Path { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    RemoveUrl

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

    Declaration
    public string RemoveUrl { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Resize

    Enables resizing for the video element.

    Declaration
    public bool Resize { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    ResizeByPercent

    Enables video resizing by percentage calculation.

    Declaration
    public bool ResizeByPercent { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    SaveFormat

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

    Declaration
    public SaveFormat SaveFormat { get; set; }
    Property Value
    Type Description
    SaveFormat

    The default value is SaveFormat.Blob

    SaveUrl

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

    Declaration
    public string SaveUrl { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Width

    Specifies the width of the video.

    Declaration
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "auto"

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved