MediaPlayerFile
Base class for the MediaPlayerFile object. Used for the elements in the RadMediaPlayer Playlist.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[Browsable(false)]
public abstract class MediaPlayerFile : IStateManager
Inheritance: objectMediaPlayerFile
Derived Classes:
Implements:
Inherited Members
Constructors
MediaPlayerFile constructor. Used for the elements in the RadMediaPlayer Playlist.
public MediaPlayerFile()
MediaPlayerFile constructor. Used for the elements in the RadMediaPlayer Playlist.
public MediaPlayerFile(RadMediaPlayer ownerMediaPlayer)
Owner RadMediaPlayer object
Properties
Gets or sets a flag that indicates if the media file will start playing on load
public bool AutoPlay { get; set; }
Gets the type (MediaPlayerVideo/MediaPlayerAudio) of the current file
public string FileType { get; }
Gets a reference to the owner media player control
public RadMediaPlayer OwnerMediaPlayer { get; }
Gets a collection of MediaPlayerSource objects.
[PersistenceMode(PersistenceMode.InnerProperty)]
public MediaPlayerSourcesCollection Sources { get; }
Gets or sets the start time for the media player
public double StartTime { get; set; }
Gets or Sets the start volume of the Media Files
public int StartVolume { get; set; }
Gets or Sets the Path of the Subtitles Files
public string SubtitlesPath { get; set; }
Methods
protected virtual void TrackState()