Hello Sameel,
That behavior isn't expected. The MediaElement (ME) should automatically pause and resume after the aspect ratio change via the Visual State (VS) change.
There must be something that you are doing during your VS change that is triggering the ME to reset. Maybe if you can offer some insight into what you are doing during your VS change we can offer some insight.
The other thing you can look at is handling the "MediaFailed " and "CurrentStateChanged" events. This should allow you to be able to see what is occurring with the ME during the visual state change.
I hope this helps,
James
Windows SDK Technologies - Microsoft Developer Services - http://ift.tt/1kyQHnB
No comments:
Post a Comment