Thursday, February 27, 2014

MediaElement won't play after returning from multitasking

I have a simple app that plays a media element that I declare and give source to in the MainPage.xaml file. A bug I have noticed is after leaving the app and returning, the media element no longer plays. The function that triggers it is in the MainPage.xaml.cs and I have set up markers to verify the function is being called and executing correctly. For some reason, the media element is simply not playing.


I am using the .Play() function, and it works with no errors as long as I don't navigate out of the app. Any ideas?


No comments:

Post a Comment