Hide MPMoviePlayerController while new video loads?

You can set the frame of your player to a View that you can make in IB or programmatically instead of doing a CGRectMake every time.

You can set the frame of your player to a View that you can make in IB or programmatically instead of doing a CGRectMake every time. Self.player.view. Frame = self.viewForMovie.

Bounds; self.player.view. AutoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; Then in your "videoButton1" you can set the alpha of the View to 0 viewForMovie. Alpha = 0; And in your "setupVideoPlayer" you can change the alpha back to 1.

Thanks for the reply. I played around with what you said, the only thing now is that the video player doesn't auto play in the new movieView. The controls appear correctly, but I don't think it is detecting touches.

Any more pointers? – Brian Dec 8 '10 at 16:57 I got it figured out. The problem was that I had the movie player in a new thread.

Now I know how much apple doesn't like that. So in the new thread I used NSThread sleepforTimeInterval:3.0; // To appear to be loading. Then use the performSelectorOnMainThread method to actually load the video into the view.

Thanks for the info Ricardo. You pointed me in the right direction. – Brian Dec 8 '10 at 18:57.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions