0

how to play video landscape with standard api?

video play only portrait !!!

change the app orientation landscape is not useful, because video start portrait forever.

i have a portrait app with a button, when pressed video must play landscape.

yourmoviecontrollername  setOrientation:UIDeviceOrientationPortrait animated:NO];

is not allowed by Apple

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
luca
  • 1

1 Answers1

0

Maybe the regular videoplayercontroller doesnt do landscape by itself...i would suggest using MPMoviePlayerViewController available in 3.2, you set it up and use view controllers presentMoviePlayerController method in order to display, should work fine for you. here is a ref MPViewcontroller

Daniel
  • 22,363
  • 9
  • 64
  • 71