Satyam
Satyam

Reputation: 15894

MPMoviePlayerController resize

How can I resize the frame size of MPMoviePlayerController?

Upvotes: 2

Views: 2075

Answers (2)

Francescu
Francescu

Reputation: 17054

Update

Since iOS 3.2 you can resize the MPMoviePlayerController' view frame.

Set a new frame using frame = CGRectMake(x,y,w,h);

Original answer

You can't

http://developer.apple.com/iphone/library/documentation/MediaPlayer/Reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html

Behavior in iPhone OS 3.1 and Earlier

In iPhone OS 3.1 and earlier, this class implemented a full-screen movie player only. After creating the movie player and initializing it with a single movie file, you called the play method to present the movie. (The definition of the play method has since moved out of this class and into the MPMediaPlayback protocol.) The movie player object itself handled the actual presentation of the movie content.

Update :

Upvotes: 1

Cesar
Cesar

Reputation: 4427

With the new release of the MPMoviePlayerController you can.

Upvotes: 2

Related Questions