Quote:
Also, Shoutout
I noticed you play the songs from the very beginning(which might be bad for some people) here is the trick i used:
The mediaplayer class has a method called playposition, which defines where you want the song to start(default is 0:0:0.0)
To start it at any time you want just set the playposition to a TimeSpan variable like so:
Code:
MediaPlayer.PlayPosition = new TimeSpan(0, 0, 30)This example starts the song at 0 hours, 0 minutes, and 30 seconds into the song
|
What if the songs less than 30 seconds long?