backward forward windows phone 7 music player
What method is used to开发者_开发百科 do backward forward for mediaplayer in windows phone 7. Also how to present the progress bar for current song? I have look all over Microsoft.Xna.Framework.Media Namespace but couldn't find any method to use. Any one have suggestion?
Is this for a XNA game or a regular application? By adding a playlist to the regular player, using the MediaHistory class you can use the build-in controls of the phone. Also to obtain the current position, use the MediaPlayer.PlayPosition property.
For doing a custom implemented UI for the playlist, look into using the MediaPlayer.Queue.
Have you looked at MediaElement class? In particular, position property can let you position the media to go backward/forward.
精彩评论