¡@

Home 

2014/10/15 ¤U¤È 10:11:34

iphone Programming Glossary: mpmovieplayerviewcontroller

Autorotate in iOS 6 has strange behaviour

http://stackoverflow.com/questions/12526054/autorotate-in-ios-6-has-strange-behaviour

deprecated and now I need to use shouldAutoRotate and supportedInterfaceOrientations methods. For video playing I use MPMoviePlayerViewController . How to rotate only this player view I can only rotate whole app but don't want to do this. I present MPMoviePlayerViewController.. . How to rotate only this player view I can only rotate whole app but don't want to do this. I present MPMoviePlayerViewController but it doesn't rotate as in iOS 5 and earlier. In plist setting I've set only 1 Portrait interface orientation. If I set..

MPMoviePlayerViewController Generating lots of errors

http://stackoverflow.com/questions/14224476/mpmovieplayerviewcontroller-generating-lots-of-errors

Generating lots of errors I am having issues to get MPMoviePlayerViewController to work. I have a new project that after.. Generating lots of errors I am having issues to get MPMoviePlayerViewController to work. I have a new project that after viewDidLoad I try to play the movie in a moviePlayerViewController as below. I.. super viewDidLoad self play void play NSURL filmURL NSURL URLWithString @ http www.ud ltd.com ipmt Film16.mp4 self.mvc MPMoviePlayerViewController alloc initWithContentURL filmURL self presentMoviePlayerViewControllerAnimated self.mvc self.view addSubview self.mvc.view..

Writing an app to stream video to iPhone

http://stackoverflow.com/questions/2978405/writing-an-app-to-stream-video-to-iphone

You need to handle the controller that display the video player's view which is self in this case . In iOS 3.2 MPMoviePlayerViewController make it even easier NSString videoURLString @ http path to iphone compliant video stream NSURL videoURL NSURL URLWithString.. NSString videoURLString @ http path to iphone compliant video stream NSURL videoURL NSURL URLWithString videoURLString MPMoviePlayerViewController moviePlayerView MPMoviePlayerViewController alloc initWithContentURL videoURL autorelease self presentMoviePlayerViewControllerAnimated.. compliant video stream NSURL videoURL NSURL URLWithString videoURLString MPMoviePlayerViewController moviePlayerView MPMoviePlayerViewController alloc initWithContentURL videoURL autorelease self presentMoviePlayerViewControllerAnimated moviePlayerView presentMoviePlayerViewControllerAnimated..

How To Rotate An MPMoviePlayerController

http://stackoverflow.com/questions/3019200/how-to-rotate-an-mpmovieplayercontroller

that plays video in landscape. After some experimentation the following seems to work @interface MyMovieViewController MPMoviePlayerViewController @end @implementation MyMovieViewController BOOL shouldAutorotateToInterfaceOrientation UIInterfaceOrientation toInterfaceOrientation.. UIInterfaceOrientationIsLandscape toInterfaceOrientation @end Then just instantiate MyMovieViewController instead of MPMoviePlayerViewController. EDIT 2 MPMoviePlayerViewController is not the same as MPMoviePlayerController you use it to get the behaviour of the 2.0.. toInterfaceOrientation @end Then just instantiate MyMovieViewController instead of MPMoviePlayerViewController. EDIT 2 MPMoviePlayerViewController is not the same as MPMoviePlayerController you use it to get the behaviour of the 2.0 3.1 MPMoviePlayerController. You need..

MPMoviePlayerController vs. MPMoviePlayerViewController

http://stackoverflow.com/questions/4056844/mpmovieplayercontroller-vs-mpmovieplayerviewcontroller

vs. MPMoviePlayerViewController I'm new to iPhone development. Just wondering what the difference is between the MPMoviePlayerController and the MPMoviePlayerViewController... I'm new to iPhone development. Just wondering what the difference is between the MPMoviePlayerController and the MPMoviePlayerViewController. Also more generally what is the difference between a controller and a view controller I know that you use a controller.. question The MPMoviePlayerController is just a movie player it provides a way for you to play movies on the iPhone a MPMoviePlayerViewController is an actual view controller subclass that takes care of presentation of the MPMoviePlayerController...as documentation..

play video stream with MPMoviePlayerController

http://stackoverflow.com/questions/8864405/play-video-stream-with-mpmovieplayercontroller

Instead of creating a MPMoviePlayerController and adding that to your view it is probably simpler to create a MPMoviePlayerViewController and present that view controller modally since you are trying to show your video full screen anyway . Then the MPMoviePlayerViewController.. and present that view controller modally since you are trying to show your video full screen anyway . Then the MPMoviePlayerViewController can manage the presentation of your video for you. MPMoviePlayerViewController mpvc MPMoviePlayerViewController alloc initWithContentURL.. video full screen anyway . Then the MPMoviePlayerViewController can manage the presentation of your video for you. MPMoviePlayerViewController mpvc MPMoviePlayerViewController alloc initWithContentURL url NSNotificationCenter defaultCenter addObserver self selector..