|
What you would use this for: Embedding a Quicktime movie is a great
way to spruce up your web page by offering visitors a movie
built right into your page, rather than having it open in
the visitors Quicktime player.
What You Need:
Quicktime (Quicktime external link)
A Text editor (TextWrangler external link)
1. Open the page you want to embed the quicktime movie into in TextWrangler.
2. Copy the code in the text box below. To do this, you will highlight the below text and press Command and C at the same time:
3.
In this example
we have a few different elements. Below is a rundown of
the code and what it does.
EMBED SRC="http://www.yourdomain.com/example_movie_pf.mov"
This is where you
set the poster frame if you will be using one. You'll want
to set the path to wherever your poster frame movie is located.
For example, if my poster frame was inside a folder called
"Quicktime_Stuff", my code should read EMBED SRC="http://www.yourdomain.com/Quicktime_Stuff/example_movie_pf.mov".
These filenames are case sensitive, so if your file is called example_movie_pf.MOV then you'll need to make sure your path name is also written in the same case.
HEIGHT=253 WIDTH=320
In this example,
my movie is 240 pixels high by 320 pixels in width. Notice
that I've set the height tag at 253. The reason for this
is because you need to allot extra room for the Quicktime
controller (that's the little bar at the bottom of Quicktime
movies with the volume, play button and timeline). 13 pixels
added to the height should do the trick.
HREF="http://www.yourdomain.com/example_movie.MOV"
This is the absolute
path to your Quicktime movie. When the poster frame is clicked
on, it will reference this piece of code to find your actual
movie. A relative path may work for you as well, but on
a PC it will not function properly, so we highly recommend
using the URL.
TARGET="myself"
This tells the
movie to launch in the web page rather than in a separate
Quicktime Player.
CONTROLLER="False"
This statement tells the poster frame
(and Quicktime Panorama, if that's what you're poster frame
references instead of a movie) not to display the Quicktime
controller. Since the poster frame is a movie (albeit a
movie with only one frame) it will show a timeline and play
options along the bottom unless you add this statement to
the code.
Below is an example of an embedded movie
with a poster frame. Click the image to begin the movie:
To embed a Quicktime movie
without using a poster frame, use the example code below:
|