MoviePlayer allows you to put a mask on a movie, so you can easily create a movie
that plays within a non-rectangular shape.
You can use any QuickTime movie. Here we've used a small, low-frame rate sample:
- Open any QuickTime movie in MoviePlayer.
(You'll need to be sure you have the MoviePlayer plug-ins in the same folder as MoviePlayer.
These are files called Authoring Extras and Goodies. If you got MoviePlayer from
BMUG's 2.5 Update CD-ROM, you have the plug-ins; you can also get them from the
QuickTime FAQ software page.)
- In the Movie Info window (which you access by choosing Get Info in the Movie
menu) choose Video Track from the left pop-up and Mask from the right pop-up.
- Click Set.
You'll get a standard open file dialog.
- Choose the pict file that has the graphic you'd like to use as a mask.
- The shape (stretched to fit the dimensions of the movie window) will show in
the dialog box and the movie will take on that shape.
- To embed this movie in a web page, as we did at the top of this page, make sure
to save it properly, and use the following html:
<EMBED SRC="your.mov" HEIGHT="120" WIDTH="160"
CONTROLLER="FALSE" AUTOPLAY="TRUE">
The value you use for src should be the name of your movie. The height and width
should be the height and width of your movie, which you can get easily by using the
Get Info command in MoviePlayer, and choosing Size in the right pop-up.
If you want the controller to show, don't include CONTROLLER="FALSE",
and add 24 to the height value.
Thanks to Dan Meriwether, BMUGs webmaster
RETURN TO HOW-TO INDEX
RETURN TO MONTH INDEX
RETURN TO ARCHIVE INDEX
http://www.bmug.org/quicktime
copyright 1996-97
Judith L. Stern and Robert Lettieri, jandr@ccnet.com
QuickTime, the QuickTime logo, and Macintosh are registered trademarks of Apple Computer Inc