Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.1

Posted: 2009-06-04

Build Requirements: Xcode 3.0 or later

Runtime Requirements: Mac OS X version 10.5 or later

View Source Code:

Download Sample Code (“CocoaDVDPlayer.zip”, 64.2K)



Description

The CocoaDVDPlayer project demonstrates how to play DVD-Video media in a Cocoa application using DVD Playback Services, the API for the DVD Playback framework introduced in Mac OS X v10.3. The project builds an application with a full set of controls and a resizable video window that maintains the correct aspect ratio. Other features include bookmarks, multiple viewing angles, and a playback timer. The project also shows how to register for and handle DVD events, and how to implement error-handling.

Document Revision History

Date Notes
2009-06-04Updated for Mac OS X v10.5. Switched from deprecated QuickDraw-based functions to new Core Graphics-based functions. Developers using CocoaDVDPlayer 1.0 are encouraged to migrate to this version.
2005-11-04Demonstrates how to use DVD Playback Services to play DVD-Video media.
Did this document help you? Yes It's good, but... Not helpful...