IPhone MPMoviePlayer obtain buttons view?

You can't add it directly to the MPMoviePlayerController's view -- that's a private view and isn't accessible. If you want to add buttons, you need to create a transparent window over the top of everything and add the buttons to that Apple's MoviePlayer sample shows how to do this.

You can't add it directly to the MPMoviePlayerController's view -- that's a private view and isn't accessible. If you want to add buttons, you need to create a transparent window over the top of everything and add the buttons to that. Apple's MoviePlayer sample shows how to do this.

The screenshot above is from an app from the AppStore. – mxg Nov 16 '09 at 22:25 +1 for correct and only possible answer – Till Nov 16 '09 at 23:03 Till, if you're going to pay more attention, you'll se that the 'seek' button in on the bar, not in a separated window. When the Controls disappear, the button disappear.

Also, the Next/Prev buttons are disabled. – mxg Nov 17 '09 at 0:35 MPMovieControlModedden + custom overlay window resembling the original interface – Till Nov 17 '09 at 6:51 1 mxg... the seek button is not on the bar. It's in a separate, invisible window floating over the bar that fades out when the NSNotification indicating the controls are disappearing is sent.It looks like its in the bar but that's just due to careful placement.

– Matt Gallagher Nov 17 '09 at 21:45.

The above answer is actually incorrect: the view is not private, and you can add views to it. You just have to dive deep enough to find it. This will add a CC button to the view, and if you specify the correct value for the frame of the CC button, it will insert the button to the control panel, and hide/show it with the control panel on touch.

NOTE: the set of subviews of mpPlayer view are different for different iOS versions, so consider this as a work around only.

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