views:

24

answers:

1

Hi, I am able to aassign a playlist to MediaPlayer like follwoing:

myMediaElement.Playlist = playList;

Where playList is the collection of PlaylistItem.

But here my question is how can we assign just a playListItem to myMediaElement. For Example:

myMediaElement.Playlist = playList.Items[0];

I don not want to used myMediaElement.GoToPlaylistItem(index);

Thanks,

Subhen

A: 

Ok , I was not able to assign directly the playlist Item but created by taking another temporary playlist.

Have a look here and let me know if there are any alternate methods or some better way to make it happen.

Thanks,

Subhen

Subhen