Playing video in custom size screen - view in iPhone

前端 未结 5 523
死守一世寂寞
死守一世寂寞 2020-12-18 13:24

Suppose user taps on a button and video begins to play. Now when video plays, it always in full screen mode.

Video should be played in a portrait mode (but normally

5条回答
  •  半阙折子戏
    2020-12-18 13:36

    Just an update, the latest iPhone SDK 3.2+ will now allow the programmers to show the video in any desired size and Orientation, New MPMoviePlayerView is provided, which is a property of MPMoviePlayerController, this view will have the video, which you can add as a subview to your view.

提交回复
热议问题