Back to Devexpress

HtmlEditorHtmlEditingSettings.AllowHTML5MediaElements Property

aspnet-devexpress-dot-web-dot-aspxhtmleditor-dot-htmleditorhtmleditingsettings-dot-allowhtml5mediaelements.md

latest1.8 KB
Original Source

HtmlEditorHtmlEditingSettings.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.ASPxHtmlEditor

Assembly : DevExpress.Web.ASPxHtmlEditor.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(false)]
public bool AllowHTML5MediaElements { get; set; }
vb
<DefaultValue(False)>
Public Property AllowHTML5MediaElements As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

HTML Validation Parameters

HTML Validation

HTML Editor

HtmlEditorHtmlEditingSettings Class

HtmlEditorHtmlEditingSettings Members

DevExpress.Web.ASPxHtmlEditor Namespace