iphonempmovieplayercontrollermoviempmovieplayer

MPMoviePlayerController with a Custom Button on its toolbar


You might have seen video through you tube in iPhone.

Normal MPMoviePlayerController has previous, next & play/pause buttons.

You tube - player has additional two buttons on it.

=> Add to favorites on the left side.

=> Email this video on right side.

I want to implement the same for my application.

But I am failed to find out the property or methods regarding - implementing this.

How do I need buttons on it?


Solution

  • I don't think you can modify the interface of an Apple provided view.
    The general approach would be to play your video and then after it's done, show a view with the desired buttons/and or options for the user.

    An example of this can be seen with the YouTube app on the iPhone. After the youtube video plays, the user is sent to a summary view with links to watch the video again, favourite it, share it, etc.