Dynamic rich media component for ASP.Net Flash, Video, Audio, FlashVideo and ToolTip / Balloon Help controls for C# and VB.Net

ASPNetMediaGUI Media PlayList Object Reference

Object Reference for ASPNetMediaGUI.PlayList and ASPNetMediaGUI.ClientPlayList in resource ASPNetMediaGUI.NET2.dll, or ASPNetMediaGUI.NET1.dll

ASPNetMediaGUI.PlayList inherits from GridView WebControl.

Note: ClientPlayList does not work in AJAX - it runs using the InvisibleClientControl setting of DisplayMode, and is only available for convenience in .NET 2.0 and for .NET 1.x availability (PlayList does not work in ASP.NET version 1.x.

These properties can be accessed programmatically (e.g. in C# or VB.Net) or by using the properties editor. In Visual Studio 2005 you can also access the properties using Smart Tags.

Data

PlayListTracks

Defines a static set of PlayList Tracks. To use this list as a DataSource, select '(None)' with 'Choose Data Source'. It will show up as 'DefaultPlayList' when selected.

PlayListTrackCollection Methods:

PlayListTrack PlayListTrackCollection[int index]

Allows indexing the PlayListTrackCollection by index.  Set or return the PlayListTrack object at index index.

void PlayListTrackCollection.Add(PlayListTrack playListTrack)

Adds PlayListTrack playListTrack to the collection.

void PlayListTrackCollection.Insert(int index, PlayListTrack playListTrack)

Inserts PlayListTrack playListTrack to the collection at index.

void PlayListTrackCollection.Remove(PlayListTrack playListTrack)

Remove PlayListTrack playListTrack from the collection.

bool PlayListTrackCollection.Contains(PlayListTrack playListTrack)

Returns true if the PlayListTrack playListTrack exists in the collection.



PlayListTrack Properties:

string PlayListTrack.Name

Get or set the name of the PlayList Track.

string PlayListTrack.URL

Get or set the URL of the PlayList Track.

 

PlayList

AutoPlay

If true, the PlayList will load the selected track into the associated media player on load. If false, it will do nothing and wait for the user to select a track.

DisplayMode

Select whether you wish for the control to be visual and run at the server side (VisibleServerControl), invisible and run at the server side (InvisibleServerControl), or invisible and run at the client side (InvisbleClientControl). If you want a client-side, visible PlayList, use Microsoft AJAX and place the PlayList and its associated media player in an UpdatePanel.  If you want to use an invisible playlist inside an UpdatePanel, use the InvisibleServerControl setting.

Applies to:

  • PlayList

LoopTrack

If true, each Track will loop back to the beginning and restart when it reaches the end. If false, it will proceed to the next track in the PlayList when it reaches the end of each track.

LoopPlayList

If true, the PlayList will loop back to the beginning and restart when it reaches the end of the last track on the PlayList. If false, it will stop when it reaches the end.

MediaPlayer

Select or enter the Control ID of the MediaPlayer to associate this PlayList with.

SelectedTrack

The current track that is being played, or the track that will be played when the PlayList is loaded.

TrackTimeout

In Milliseconds (seconds/1000), the amount of time each track will be played before the PlayList proceeds to the next track. The default, 0 milliseconds, disables the timeout feature.

TrackChangeEvent

Server event triggered when the PlayList changes track. Not fired when the PlayList's DisplayMode = InvisibleClientControl.