Audio is normally played from a Page, and if you change page it will stop. However you can play audio from anywhere in an app, the player doesn’t have to be tied to a page. //Declare the players, for example 2 seperate players here private static Windows.Media.Playback.MediaPlayer BackgroundMediaPlayer1 = new Windows.Media.Playback.MediaPlayer(); private static Windows.Media.Playback.MediaPlayer BackgroundMediaPlayer2 […]
Category: Audio
Playing Audio Files
Playing Audio In A Page Add this to your .axml file <MediaElement Name=”audioplayer1″ AutoPlay=”False” Source = “Assets/audio_song.mp3” /> You can trigger playback like this audioplayer1.Play();