iPhone OS Reference Library Apple Developer Connection spyglass button

Version: 1.3

Posted: 2009-05-03

Build Requirements: Mac OS X 10.5.6, iPhone OS 3.0

Runtime Requirements: Mac OS X 10.5.6, iPhone OS 3.0

View Source Code:

Download Sample Code (“MoviePlayer_iPhone.zip”, 2.35M)



Description

Demonstrates how to use the Media Player framework to play a movie full-screen. MoviePlayer contains code to configure movie background color, playback controls, and scaling mode via the built-in Settings application. It also shows how to draw custom overlay controls on top of a movie during playback. In addition, this sample demonstrates how to play movies loaded from a network-based URL. With iPhone OS 3.0 or later, you can receive streaming audio and video over HTTP from an ordinary web server.

Document Revision History

Date Notes
2009-05-03Added support for receiving streaming audio and video over HTTP.
2008-12-23Fixed dealloc method in MyViewController.m
2008-09-24Added custom overlay controls that draw on top of the movie.
2008-07-03First public release.
Did this document help you? Yes It's good, but... Not helpful...