Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.
Syllabus
Intro
Create a New View-Based Project
Convert Video File to IOS Compatible Format
Add Project Resources
Add the Media Player Framework & Configure Moon WalkViewController.h
Create the Interface with Interface Builder
Add the play Method to Moon WalkViewController
Add an NSNotification Callback for MPMoviePlayerPlaybackDidFinishNotification
Taught by
Envato Tuts+