How to play audio files from medialibrary in Mediaelement
-
Wednesday, December 01, 2010 5:54 AMI want to play the audifiles stored in the WP7 medialibrary. For that i want to use the Mediaelement instead of the Mediaplayer. The reason is that i want to be able to start the playback from any position. This is not possible using the Mediaplayer. How can i access the medialibrary, select a file and use it as the source for Mediaelement (URI / FileStream) ? Thanks!!
- Moved by Eric FleckMicrosoft Employee, Moderator Thursday, January 10, 2013 3:08 PM question not sample (From:Share your "How To" samples)
All Replies
-
Thursday, December 30, 2010 8:48 PM(bump) I would like an answer to this as well. How does one play *local zune library files* in MediaElement (specifically).
-
Sunday, April 03, 2011 12:18 PMi have the same problem i d'ont no ....
i have trythis but it's no correct...
foreach( var source in mediaSource.GetAvailableMediaSource()) { mediaelement test= new mediaelement(); ml =new MediaLibrary(source); mediaelement test = ml.songs[1]; // !!!! Error ici!!! }
-
Saturday, October 06, 2012 1:51 PM
Still no one who has managed to solve this issue after 1 year ?
I do hope there is a solution to this.
I am hoping to do exactly what Duese2000 has in mind.

