Add the Media Player Framework & Configure Moon WalkViewController.h
6
Create the Interface with Interface Builder
7
Add the play Method to Moon WalkViewController
8
Add an NSNotification Callback for MPMoviePlayerPlaybackDidFinishNotification
Description:
Learn to integrate video playback into iOS applications using the Media Player framework and MPMoviePlayerController class in this 24-minute tutorial. Discover how to subscribe to notifications with NSNotificationCenter, log messages to the console, and identify and fix memory leaks. Create a new view-based project, convert video files to iOS-compatible formats, add project resources, and configure the Media Player framework. Design the interface using Interface Builder, implement a play method, and set up an NSNotification callback for playback completion. Use the Apollo 11 moon landing footage as an example to practice these essential iOS video playback skills.
iOS SDK: Playing Video with the MediaPlayer Framework