Below is how I set media for player. If I set the media in code and then call Play(), nothing happens (video does not start and I dont get any error message).
If I set AutoPlay to true and DO NOT call Play(), video starts fine. If I keep AutoPlay to true and call Play() as well, again video does not start and I dont get any error message either.
I tried to catch event for mediaPlayer_PlayStateChanged, mediaPlayer_MediaFailed but nothing happens.
string path = "http://video3.smoothhd.com.edgesuite.net/ondemand/Big%20Buck%20Bunny%20Adaptive.ism/Manifest";
PlaylistItem li = new PlaylistItem();li.MediaSource = new Uri(path, UriKind.RelativeOrAbsolute);
li.DeliveryMethod = DeliveryMethods.AdaptiveStreaming;
mediaPlayer.AutoPlay = true;