New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Client-side Programming Overview

Client-Side Object

The functionality provided by RadMediaPlayer is strongly extablished on its client-side capabilities. Here is a list with the basic properties and methods exposed by its client-side object.

Methods/propertiesDescription
enterFullScreenEnters Full Screen mode.
exitFullScreenExits Full Screen mode.
playPlays the media.
seekToProceeds to given time frame.
pausePauses playing the media.
muteMutes the media.
unmuteUnmutes the media.
toolbarProvides a reference to the toolbar object.
titlebarProvides a reference to the titlebar object.
stopStops playing the media.
isEndedDetermines whether the media has ended.
isPausedDetermines whether the media is paused.
isMutedDetermines whether the media is muted.
isPlayingDetermines whether the media is playing.
get_currentTime()Gets the exact time which the player is currently on.
get_fsActive(), set_fsActive()Controls the Full Screen mode of the media.
get_hdActive(), set_hdActive()Controls the HD quality status of the media.
get_options(), set_options()Controls a collection of the basic options for the player.
get_source()Controls the source of the player.
get_toolbarDocked(), set_toolbarDocked()Controls the toolbar's position.
get_volume(), set_volume()Controls the volume of the media.

Client-Side Events

Event nameDescription
OnClientEndedThis event is fired after the media finishes playing.
OnClientPausedThis event is fired after the media pauses.
OnClientPlayThis event is fired after the media begins playing.
OnClientReadyThis event is fired when any loading is over and the player is ready to start playing the media.
OnClientSeekStartThis event is fired when the user selects a new play time.
OnClientVolumeChangedThis event is fired upon changing the volume level.