MediaPlayerBanner
Defines a clickable promotional or informational banner displayed over the media surface at specified times. Configure schedule via StartTime and EndTime; make it dismissible with ShowCloseButton. Example: Display a "Learn More" banner between 5 and 15 seconds linking to a product page.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class MediaPlayerBanner : StateManager, IMarkableStateManager, IStateManager, INamingContainer
Inheritance: objectStateManagerMediaPlayerBanner
Implements:
Inherited Members
Constructors
public MediaPlayerBanner()
Properties
Gets or sets the alternate text displayed in the banner when the image is unavailable.
public virtual string AlternateText { get; set; }
Set the banner image URL (e.g. "~/images/promo1.png" or CDN path). Supports app-relative paths.
public string ImageUrl { get; set; }
The Navigate URL of the baner
public string NavigateURL { get; set; }
Gets or sets whenever the close button should be visible for the banner
public bool ShowCloseButton { get; set; }
Gets or sets the target window or frame in which to display the Web page content linked to when the Banner control is clicked.
[TypeConverter(typeof(TargetConverter))]
public string Target { get; set; }