none
How to play audio files from medialibrary in Mediaelement

    General discussion

  • I 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!!
    Wednesday, December 01, 2010 5:54 AM

All replies

  • (bump) I would like an answer to this as well. How does one play *local zune library files* in MediaElement (specifically).
    Thursday, December 30, 2010 8:48 PM
  • i 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!!!
    }

    Sunday, April 03, 2011 12:18 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.

    Saturday, October 06, 2012 1:51 PM