Class
RadMediaPlayer

Represents RadMediaPlayer for Asp.Net Ajax control wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadMediaPlayer : HtmlContainerControl

Inheritance: objectControlHtmlControlHtmlContainerControlRadMediaPlayer

Inherited Members HtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

RadMediaPlayer()

Initializes a new instance of the RadMediaPlayer class.

Declaration

cs-api-definition
public RadMediaPlayer()

RadMediaPlayer(Element)

Initializes a new instance of the RadMediaPlayer class.

Declaration

cs-api-definition
public RadMediaPlayer(Element element)

Parameters

element

Element

Properties

ClientId

The client id of the RadMediaPlayer.

Declaration

cs-api-definition
public string ClientId { get; }

Property Value

string

ClientSideLocator

The client-side locator of the RadMediaPlayer.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

ClosePlayListButton

The close playlist button of the media player.

Declaration

cs-api-definition
public HtmlSpan ClosePlayListButton { get; }

Property Value

HtmlSpan

CurrentTime

Get the current time of MediaPlayer.

Declaration

cs-api-definition
public int CurrentTime { get; }

Property Value

int

ExitFSButton

The exit FS button of the media player.

Declaration

cs-api-definition
public HtmlSpan ExitFSButton { get; }

Property Value

HtmlSpan

FSButton

The FS button of the media player.

Declaration

cs-api-definition
public HtmlSpan FSButton { get; }

Property Value

HtmlSpan

HDButton

The HD button of the media player.

Declaration

cs-api-definition
public HtmlSpan HDButton { get; }

Property Value

HtmlSpan

LocatorExpression

Get the item locator FindExpression.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

MuteButton

The mute button of the media player.

Declaration

cs-api-definition
public HtmlSpan MuteButton { get; }

Property Value

HtmlSpan

OpenPlayListButton

The open playlist button of the media player.

Declaration

cs-api-definition
public HtmlSpan OpenPlayListButton { get; }

Property Value

HtmlSpan

PauseButton

The pause button of the media player.

Declaration

cs-api-definition
public HtmlSpan PauseButton { get; }

Property Value

HtmlSpan

PlayButton

The play button of the media player.

Declaration

cs-api-definition
public HtmlSpan PlayButton { get; }

Property Value

HtmlSpan

RenderMode

Declaration

cs-api-definition
public RenderMode RenderMode { get; }

Property Value

RenderMode

SocialShareButton

The socialShare button of the media player.

Declaration

cs-api-definition
public HtmlSpan SocialShareButton { get; }

Property Value

HtmlSpan

Source

Get the source of MediaPlayer.

Declaration

cs-api-definition
public string Source { get; }

Property Value

string

SubtitlesButton

The subtitles button of the media player.

Declaration

cs-api-definition
public HtmlSpan SubtitlesButton { get; }

Property Value

HtmlSpan

Volume

Get the volume of MediaPlayer .

Declaration

cs-api-definition
public int Volume { get; }

Property Value

int

VolumeButton

The mute button of the media player.

Declaration

cs-api-definition
public HtmlSpan VolumeButton { get; }

Property Value

HtmlSpan

areSubtitlesEnabled

Whether the subtitles of MediaPlayer are enabled.

Declaration

cs-api-definition
public bool areSubtitlesEnabled { get; }

Property Value

bool

exitHDButton

The exit HD button of the media player.

Declaration

cs-api-definition
public HtmlSpan exitHDButton { get; }

Property Value

HtmlSpan

isDocked

Whether the MediaPlayer is docked.

Declaration

cs-api-definition
public bool isDocked { get; }

Property Value

bool

isEnded

Whether the MediaPlayer is ended.

Declaration

cs-api-definition
public bool isEnded { get; }

Property Value

bool

isFSActive

Whether the MediaPlayer is in FullScreen mode.

Declaration

cs-api-definition
public bool isFSActive { get; }

Property Value

bool

isHDActive

Whether the MediaPlayer is in HD mode.

Declaration

cs-api-definition
public bool isHDActive { get; }

Property Value

bool

isMuted

Whether the MediaPlayer is muted.

Declaration

cs-api-definition
public bool isMuted { get; }

Property Value

bool

isPaused

Whether the MediaPlayer is paused.

Declaration

cs-api-definition
public bool isPaused { get; }

Property Value

bool

isPlaying

Whether the MediaPlayer is palying.

Declaration

cs-api-definition
public bool isPlaying { get; }

Property Value

bool

Methods

AssignElement(Element)

Assign a base element for this control.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The element associated with the control.

Overrides HtmlContainerControl.AssignElement(Element)

Close()

Clicks on the close playlist button of the MediaPlayer.

Declaration

cs-api-definition
public void Close()

ControlAssert()

Returns RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.

ExitFSActive()

Clicks on the FS button of the MediaPlayer.

Declaration

cs-api-definition
public void ExitFSActive()

FSActive()

Clicks on the FS button of the MediaPlayer.

Declaration

cs-api-definition
public void FSActive()

HDActive()

Clicks on the HD button of the MediaPlayer.

Declaration

cs-api-definition
public void HDActive()

Mute()

Clicks on the mute button of the MediaPlayer.

Declaration

cs-api-definition
public void Mute()

Open()

Clicks on the open playlist button of the MediaPlayer.

Declaration

cs-api-definition
public void Open()

Pause()

Clicks on the pause button of the MediaPlayer.

Declaration

cs-api-definition
public void Pause()

Play()

Clicks on the play button of the MediaPlayer.

Declaration

cs-api-definition
public void Play()

UnMute()

Clicks on the mute button of the MediaPlayer.

Declaration

cs-api-definition
public void UnMute()

exitHDActive()

Clicks on theexit HD button of the MediaPlayer.

Declaration

cs-api-definition
public void exitHDActive()