none
How to Close Video in Windows 8 Metro App development

    Question

  • I have created a Popup of media player in which i am playing a MediaElement (i.e. Video). I have a close button as well on this Popup, which will close the media popup but problem is if i will click the Close button it will stop the MediaElement byt MediaElement.Stop(); and will hide the Popup as well. But continue to MediaElement Process in background As MediaElement.Stop() will just pause the Media and reset its point to 0.0

    Can someone please help how i can remove this MediaElement from background, which is actually affecting my App Performance.

    Monday, September 23, 2013 12:08 PM

All replies

  • In what way is it affecting your App Performance?

    If you don't want to completely release the reference to your MediaElement you could set its source to a minimal file.

    --Rob

    Tuesday, September 24, 2013 12:00 AM