Back to Devexpress

HtmlEditorHtmlEditingSettings.AllowYouTubeVideoIFrames Property

aspnet-devexpress-dot-web-dot-aspxhtmleditor-dot-htmleditorhtmleditingsettings-14d2c8ff.md

latest2.0 KB
Original Source

HtmlEditorHtmlEditingSettings.AllowYouTubeVideoIFrames Property

Gets or sets a value that specifies whether the editor’s HTML markup can contain the ‘iframe’ elements linking to a YouTube video.

Namespace : DevExpress.Web.ASPxHtmlEditor

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

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

true if the ‘iframe’ elements containing a link to a YouTube video are allowed within the editor’s content; false if the elements are automatically removed from the editor’s HTML markup.

|

Remarks

You can control the availability of other ‘iframe’ elements using the HtmlEditorHtmlEditingSettings.AllowIFrames property.

See Also

HTML Validation Parameters

HTML Validation

HTML Editor

HtmlEditorHtmlEditingSettings Class

HtmlEditorHtmlEditingSettings Members

DevExpress.Web.ASPxHtmlEditor Namespace