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.v20.2.dll

Declaration

[DefaultValue(false)]
public bool AllowYouTubeVideoIFrames { get; set; }

Property Value

Type Default Description
Boolean

false

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.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowYouTubeVideoIFrames
ASP.NET MVC Extensions HtmlEditorBinderSettings
.HtmlEditingSettings.AllowYouTubeVideoIFrames
HtmlEditorSettings
.SettingsHtmlEditing.AllowYouTubeVideoIFrames
MVCxHtmlEditor
.SettingsHtmlEditing.AllowYouTubeVideoIFrames
ASP.NET Web Forms Controls ASPxHtmlEditor
.SettingsHtmlEditing.AllowYouTubeVideoIFrames

Remarks

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

See Also