We are having the same issue, also if you are running LandscapeRight on iOS 3.x devices, it will not honor that when playing a movie. Autorotation only works on iOS4 and there doesn’t seem to be a way to lock it to a particular orientation which is not ideal.
Currently iPhoneKeyboard.autorotateToX only applies to keyboard autorotation, but not video autorotation. Video player is always auto-rotated to current device orientation.
Well it created a major QA problem for us on our last game. We could not get the movie to match our landscape orientation properly on iOS 3.1.3. Isn’t there a way with native API to force an orientation in iOS3? That would have solved our issue. Also even on iOS4, its not ideal for our landscape game, to play our landscape video in portrait due to auto-rotation and user launching the game with phone held in portrait. There must be a way to lock orientation.
Surely someone can fix this. Same problems here… looks terrible if they arent holding the device perfectly landscape and the video swings around during playback. Any Obj-c gurus out there got some xcode hack method for setting up the appropriate properties to stop the video playback doing this???
Hi im using iPad with iOS 4.2.1
and unity iphone1.7 but still the video is not getting autorotated
can anyone provide me with some guidelines to solve this issue.
Unity iPhone 1.7 hasn’t been updated for a long time and isn’t likely to get any further updates. The autorotate system has been extensively rewritten and this bug has been fixed in the process. However, the new implementation wasn’t ready for 3.3 and will be available in the next version.
Is there an ETA on 3.4’s release? We are working with a client that requires Native iOS features to be integrated and we’re having some serious rotation issues specifically related to unity… seems like this might help us get past this issue.
Sorry to ‘bump’ this thread, but we too are having serious issue with rotation and our App is due to go to review in the next week or so, is there any news about when this will be fixed (i.e. timeline?).
This is a massive issue and is one that definitely has a solution. I play other games on iPhone 4 / ios4.x that have videos which remain in position regardless of you rotating the device. Surely there is someone on here who knows a bit about xCode that could suggest some code to over-ride whatever it is that Unity is doing / not-doing that is causing the video to rotate regardless of the settings you tell it?