02-15-2013 05:33 AM
Basically clicking on a video item in my app I want to launch native Media Player in landscape mode. I am able to invoke media player using Invoke Manager but in Portrait mode only. I would like to know how to invoke media player using invoke manager in landscape mode.
Thanks in advance.
08-01-2013 02:53 PM
The Media Player Card app takes the orientation of the app which is invoking it. If your app's orientation is set to Portrat only, then that is what you will follow.
If you are restricted to keeping portrait mode *everywhere* else in your app, excepting the Media Player Card app page, then you can just programmatically set the orientation to Landscape only, right before you invoke the Media Player Card app. However, note that the user should be able to peek back and see the previous Page of your app, in Landscape orientation (since the Media Player card app would just transition from the right like any another NavigationPane Page from where the user can back to).
Hope this helps and let us know what you think.
Application Development Consultant | Developer Relations