Version: 1.1

Posted: 2005-08-10

Build Requirements: Xcode

Runtime Requirements: Mac OS X 10.2

View Source Code:

Download Sample (“QuickTimeMovieControl.zip”, 124.2K)
Download Sample (“QuickTimeMovieControl.dmg”, 185.7K)



Description

The meat of the sample is the use of the API CreateMovieControl() within the routine DisplayMovieInWindow(). With little code, using the "Open URL" menu choice, this sample is able to play networked QuickTime media such as streaming mp3s, movies, and more. Or you can choose to open a file locally for playback. The NavServices filter only makes QuickTime media selectable.

For a more comprehensive example see QTCarbonShell.

Document Revision History

Date Notes
2005-08-10Updated to produce a universal binary. No code changes were required.
2004-12-06Demonstrates how to easily add QuickTime media playback to an application

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.