Using Director > Sound, Video, and Synchronization > About using digital video on the Internet

 

About using digital video on the Internet

In both stand-alone projectors and movies playing in Web browsers, Director can handle digital video the same way it handles all other media, or it can stream the digital video using QuickTime 4. You can link the digital video to a URL, and the movie begins to download and play the digital video when its sprite first appears on the Stage.

In order for the digital video member to stream, you must set its streaming di property to TRUE. QuickTime 4 must be installed to enable streaming.

If a streaming QuickTime file contains cue points you wish to use, you must set the text track to be preloaded (use a QuickTime editor such as MoviePlayerPro to do this). If you do not preload the text track, Director will disable the cue points so it can stream the file without entirely downloading it first.

You can also import an RTSP (Real Time Streaming Protocol) stream as a QuickTime cast member. The rtsp:// URL must end with the file name extension .mov so that Director knows it should be treated as a QuickTime stream.

When using streaming digital video in a movie distributed on the Internet, keep these points in mind:

The video begins to play immediately unless the member's pausedAtStart property is set to TRUE or the controller member property is set to TRUE.

Once a digital video begins to download, the download continues until it is finished, even if the sprite no longer appears on the Stage. Use the percentStreamed member property to test how much of the media has been downloaded.The feature works with QuickTime videos only. See percentStreamed.