Skip to main content

HtmlSettingsAttribute.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.Mvc

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

Declaration

public bool AllowYouTubeVideoIFrames { get; set; }

Property Value

Type Description
Boolean

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 HtmlSettingsAttribute.AllowIFrames property.

See Also