Question on iPod Touch Orientation

Hi,
I ran into an interesting anomoly on an iPod Touch 4th Generation that perhaps someone can help me with.

Here is a couple of lines from my build.settings file:

orientation =
{
default = “landscapeRight”,
supported =
{
“landscapeRight”,“landscapeLeft”
},
},

As you can see my game runs only in landscape mode but I support both landscapeRight and landScaleLeft.

In my game I play a little movie and then go to the static title screen.
This works perfectly on the iPad 2 and the iPad 3 but on the iPod Touch if I hold the device in landscapeLeft orientation (the home button to the left), the movie plays fine but then the title screen appears upside down.
I can “flip” the title screen by rotating the device 360 degrees but it does not start out in the correct orientation. Does anyone have any ideas or similiar issues?
Thanks,
-Dennis
[import]uid: 108253 topic_id: 31550 reply_id: 331550[/import]

I have some additional information that I have been able to deduce.

If I skip the movie entirely then I get correct orientation on my title screen. But only after
an orientation change which I can see on the screen.

It seems the playing the movie prevents the subsequent orientation change. The only way then to
get the correct orientation is to jiggle the device around by rotating it 360 degrees which then initiates the orientation change.

Does anyone know if there is a way to force an orientation change with program code?
Thanks,
-Dennis [import]uid: 108253 topic_id: 31550 reply_id: 126115[/import]

Hi all,
Well I “solved” this problem by changing over to native.newVideo instead of media.playVideo.
It now works properly on all my devices and “adheres” to my build.settings rules which did not prevent
media.playVideo from playing my video in portrait mode even though I had not enabled that in the settings file. I just wish that there was some support in the simulator for any kind of video at all. It’s sometimes difficult to debug this stuff on the device itself but I muddled through.
Cheers,
-Dennis
[import]uid: 108253 topic_id: 31550 reply_id: 126166[/import]

I have some additional information that I have been able to deduce.

If I skip the movie entirely then I get correct orientation on my title screen. But only after
an orientation change which I can see on the screen.

It seems the playing the movie prevents the subsequent orientation change. The only way then to
get the correct orientation is to jiggle the device around by rotating it 360 degrees which then initiates the orientation change.

Does anyone know if there is a way to force an orientation change with program code?
Thanks,
-Dennis [import]uid: 108253 topic_id: 31550 reply_id: 126115[/import]

Hi all,
Well I “solved” this problem by changing over to native.newVideo instead of media.playVideo.
It now works properly on all my devices and “adheres” to my build.settings rules which did not prevent
media.playVideo from playing my video in portrait mode even though I had not enabled that in the settings file. I just wish that there was some support in the simulator for any kind of video at all. It’s sometimes difficult to debug this stuff on the device itself but I muddled through.
Cheers,
-Dennis
[import]uid: 108253 topic_id: 31550 reply_id: 126166[/import]