[thelist] Quicktime "click to play" poster
Rick den Haan
rick.denhaan at gmail.com
Tue Mar 8 20:44:46 CST 2005
On Tue, 8 Mar 2005 16:56:41 -0700, Chris George <cgeorge at basecorp.com> wrote:
> Anyone know how to do that Quicktime "Click to play" poster that comes
> up prior to a movie starting?
>
> A colleague mentioned that I need to add a param target of "myself" to
> the embed, but that's as far as they got.
Chris,
You need to specify "target" and "href" parameters for you <object>,
and/or attributes for your <embed> tag. Use a "click to play" image
(or preferably a one-frame quicktime movie like the Apple website uses
[1]) as your source. Example:
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="480" height="288"
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="click_here.mov" />
<param name="target" value="myself" />
<param name="href" value="play_this_after_click.mov" />
<param name="pluginspage" value="http://www.apple.com/quicktime/download/" />
<embed width="480" height="288" target="myself"
href="play_this_after_click.mov" src="click_here.mov"
pluginspage="http://www.apple.com/quicktime/download/indext.html"></embed>
</object>
Note that it helps to make the "click here to play" image the same
size as the actual video.
The Apple website has a pretty extensive documentation [2] on how to
embed a quicktime movie into a webpage. It pretty much handles the
<embed> tag only, but most (if not all) of the attributes can also be
used as <param> tags for your object.
[1] http://movies.apple.com/movies/qt_posters/qtstart5a_480x228.mov
[2] http://www.apple.com/quicktime/authoring/embed.html
HTH,
Rick.
More information about the thelist
mailing list