Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

iOS SDK: Playing Video with the MediaPlayer Framework

Envato Tuts+ via YouTube

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+

Reviews

Start your review of iOS SDK: Playing Video with the MediaPlayer Framework

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.