Video Orientation

I have an app that has a full screen video. My app only supports portrait and I want the video to play in landscape, and just the video.

I see that I can get the systems current orientation by calling: system.orientation

But I don’t know how to tell the video player I want it to use the current system.orientation.

I briefly tried supporting all orientations in the build settings file. This gives me what I want for the video but it breaks all of my other interfaces.

How have you guys solved this problem?
[import]uid: 39480 topic_id: 17616 reply_id: 317616[/import]

Ok, so we did some more testing and the problem I am describing only happens on android. If I run the video on iphone the video rotates when I rotate the phone. On android it stays in portrait. Since this is the case I’m not sure there is much I can do.

Any ideas? [import]uid: 39480 topic_id: 17616 reply_id: 67060[/import]

Android is out of my area of expertise but can I encourage you to create a thread in the Android forum about this?

It’s more likely to get seen by Android devs who have perhaps experienced this than in Developer Support.

Peach :slight_smile: [import]uid: 52491 topic_id: 17616 reply_id: 67120[/import]

@Peach Pellen Thanks. here is the link to the post on the Android forum.
http://developer.anscamobile.com/forum/2011/11/14/video-orientation-android
[import]uid: 39480 topic_id: 17616 reply_id: 67528[/import]