I have a xaml containing a MediaElement with empty source, only after all the resources the xaml reference are loaded i set a source to it.

I noticed that when trying to use the Stop/Pause/Play methods on the MediaElement after the source was already set (the media is displayed fine) it doesn't affect the media.

Any ideas



Re: Silverlight (formerly WPF/E) Developer Issues Problem with MediaElement play/stop/pause methods

Chad Campbell

Hi Maya,

I'm not entirely sure what the problem could be. Could you please post some code I've successfully accomplished what you're attempting.

A sample using multiple media elements is available here:

A video walkthrough is available here:

I hope this helps,

Chad Campbell