Skip to main content

HtmlSettingsAttribute.AllowHTML5MediaElements Property

Gets or sets a value that specifies whether the editor’s HTML markup can contain HTML5 media elements, i.e. ‘audio’ and ‘video’.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool AllowHTML5MediaElements { get; set; }

Property Value

Type Description
Boolean

true if media elements are allowed within the editor’s content; false if the elements are automatically removed from the editor’s HTML markup.

See Also