Tuesday, November 26, 2013

Playing a sound effect using MediaElement does not work

bleep.Play() must be called after the audio has been successfully loaded (MediaOpened event has been called). OnNavigatedTo() is not a very safe place to be sure.


Try calling this directly from inside the MediaOpened event.


No comments:

Post a Comment