MPMoviePlayerController orientation bug on device but not in simulator

I am getting a weird bug when I load a movie on the iPad device but not in the simulator using MPMoviePlayerController. Works perfect in simulator. When I load the movie on device it's frame is set incorrectly but when I rotate it sets the frame correctly. The movie is set to play only in landscape mode. If my previous view is in portrait mode it works perfectly by rotating it to landscape but when I am in landscape mode it initially places the x,y coordinates wrongly on device.


There are several bugs -- especially UI bugs -- in the simulator that cause it to not behave as the devices does. In addition, there are timing issues (your computer is almost certainly faster than an iOS device) memory issues can be masked (your computer has more RAM), etc.

This is why the simulator is good for initial testing, but all software should be tested on the device before being shipped.

Need Your Help

How can I get Drupal module name programmatically?

php drupal drupal-6

I'm working on my own module. I realize I constantly need to manually type my module name in different places. Most popular usage is with drupal_get_path($type, $name) function (I have more then 10...

jQuery Countdown plugin and AJAX

javascript jquery ajax countdownlatch

I'm using jQuery Countdown plugin to implement a Countdown and call a webservice when timer expires.