Nö Solution for that but Unit 1.7 has this Imitation concerning iPad. Seems to Be the Same. Only work around is to output your Video rotated.
You Might want to this Kind of stuf in Xcode, Outside of Unity.
I think I may have found a way to circumvent this problem for people that aren’t using the on screen keyboard feature.
I found that commenting the following line in AppController.mm resolved the video rotation issue for my 2nd Generation iPod Touch running OS 4:
iphone::KeyboardOnScreen::Init();
I’ve also noticed that the accelerometer is a little funky in general. Since I don’t use this feature I commented all code that registers or executes any acceleration as well. Works like a charm now, but I doubt my application still registers which way is up.
EDIT: The only additional problem I’ve noticed is that you’ll be able to rotate the video around while it plays.
EDIT: Confirmed that this also works on 3GS running OS 4
Yeah, I’ve only recently discovered that my game that was published months ago before iOS4 and relies heavily on videos is now stuffed, as people who have upgraded to iOS4 or have an iPad get everything sideways. I didn’t discover it for ages as I’m on an original 3G iPhone and waited for things to settle down and get patched before upgrading to iOS4.
I’m taking the gamble of just rotating everything to be OS4 compliant rather than having dual videos. Hopefully nobody will complain that their old OS device now makes things look wrong…
@Minevr: are you using an iPad for testing? There is still a bug with iPad video orientation (case 387158) but we believe the other devices should work OK. If you are getting this problem with an iPhone or iPod touch then please can you report it and state that it may be related to case 387158.