Set the mediaelement source with in cs file

Topics: Windows Phone 8
Sep 22, 2013 at 5:15 PM
I can not change the source in main.cs

public MainPage()
        player.Source = new Uri(@"mms://", UriKind.Absolute);

please help me
Sep 23, 2013 at 5:48 PM
This should work as long as the video url is supported. I'm not sure offhand if mms: is supported on WP. Can you try again with a different test stream such as:
just to rule out the stream itself?