Inside Macintosh: QuickTime Reference

| Previous | Chapter Contents | Chapter Top | Next |

Dynamically Loading New Embedded Movies from URLs

A movie track maintains a list of movies which may be loaded and played within the track. The movie track only plays one movie from the list at a given time. This list is initialized from data in a movie track sample, but the list may be augmented at runtime. Each entry in the list is identified by a unique ID, and contains a data reference to a movie. There are two new wired actions, which allow you to add a new URL data reference to this list, and to load and play a movie from this list.

Dynamically loading a movie into a movie track is similar to loading a URL into a frame of a Web page. This dynamic loading allows for movies to manage memory efficiently by loading QuickTime playable content as it is needed. In addition, it allows for content which is generated on a Web server to be loaded into a movie; this content could even be created based upon information that a wired movie sends to the server using the GotoURL wired action.


© 2000 Apple Computer, Inc.

Inside Macintosh: QuickTime Reference

| Previous | Chapter Contents | Chapter Top | Next |