![]() |
SAMPLER OF EMBEDDING PARAMETERS FOR QUICKTIME
Discussion:
QuickTime uses a plug-in mechanism to display movies from your web page in the user's browser. You use an <EMBED> element to display QuickTime content within the browser, much like in this example:
<EMBED src="sample.mov" width="160" height="144" autoplay="true" CONTROLLER="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/"></EMBED>
For
this <EMBED> tag to work, the user must have the QuickTime plug-in installed
on his or her system. If the appropriate QuickTime plug-in is not installed,
when
an HTML page with QuickTime content is loaded into the user's browser, the
movie is not visible. Instead, the browser replaces it with a "broken
plug-in
icon":
![]()
...and attempts to assist the user in obtaining the required software.
Microsoft Internet Explorer for Windows, versions 5.5 SP2 , 6.0 and greater, no longer supports Netscape-style plug-ins, such as the plug-in installed as part of QuickTime 5.0.2 and earlier versions. Consequently, Windows customers using these versions of Internet Explorer who visit your site may be unable to view QuickTime content in the browser.
Because of this situation, the traditional QuickTime <EMBED> tag must now be embedded within a more comprehensive <OBJECT> tag that makes available the new ActiveX control for QuickTime. The ActiveX control for Windows allows you to direct any kind of media to QuickTime, without concern about the server or browser MIME type settings.
The chart below highlights the standard <EMBED> tags that are used to control the display of QuickTime media in websites. For brevity, all code samples eliminate the <OBJECT> tag parameters and values. Be aware that the <EMBED> tags should be surrounded by the <OBJECT> tag. For more information on the <OBJECT> tag, link to the discussion on QuickTime Detection.
|
EMBED
OPTION
|
EMBED
DESCRIPTION
|
QUICKTIME
SAMPLE
|
LINK
to Internet
|
||||||
|
1
|
Minimal HREF Tag linking from Text |
The web page uses the HREF tag to open the movie in a blank web page. Little control over the page's appearance or behavior. |
|||||||
|
2
|
Minimal HREF Tag linking from an Image | The web page uses the HREF tag to open the movie in a blank web page. Little control over the page's appearance or behavior. | |||||||
|
3
|
EMBED & SRC Tags | The EMBED tag opens a movie in a web page, but allows you to better control the page's appearance and behavior. | |||||||
|
4
|
QTSRC Parameter | This
variation on embed parameters guarantees your web browser will use the QuickTime
plugin to play the media file you are referencing. The media file can be
any of dozens of different file formats that QuickTime supports. http://www.apple.com/quicktime/products/tutorials/ |
|||||||
|
5
|
Hidden Parameter | Useful with audio-only movies that are designed to play seamlessly in the background on a web page. | |||||||
|
6
|
Autoplay Parameter |
Determines whether a movie automatically begins playing when opened or if it must be manually started. |
|||||||
|
7
|
Controller Parameter |
Determines whether a movie has a control bar with which to pause and play the movie. |
|||||||
|
8
|
Kioskmode (no save) Parameter |
Determines if a Progressive Download Movie can be saved to a user's computer. | |||||||
|
9
|
Scale Movie Parameter |
If a movie has already been compressed for distribution at a certain size, the Scale Movie parameter allows you to scale the finished movie up or down in order to fit your page design and real estate needs. |
|||||||
|
10
|
Audio Volume Parameter | The normal volume level of the computer can be overridden by setting the audio volume parameter. | |||||||
|
11
|
Target Parameter: Myself (in place) |
Targeting a movie to "Myself" means that the media file will play in the space allocated for it in the same web page. |
|||||||
| 12 |
Target Parameter: Target a Frame |
Targeting a movie to a "Frame" name means that the media file will play in the frame space reserved for it in a frame set. | |||||||
|
13
|
Target Parameter: Target QuickTime Player |
Targeting a movie to "quicktime player" means that the media file will launch the application QuickTime Player and use it to play the movie. Several options are available. |
|||||||
|
14
|
With Javascript: Spawn a QuickTime Window |
A Javascript spawns another web browser window with a specified size and attributes. Both streaming and progressive download movies can be viewed within this window. |
|||||||
|
15
|
Start and End Times Parameters for a Streaming Movie | By specifying a start or ending timecode for a movie, only that portion of the movie will play. | ![]() |
||||||
|
16
|
Play a Series of Movies Parameter | One movie plays, then another movie follows. A good way to chop up a long movie that most users would not wait around for the download. | ![]() |
||||||
|
17
|
Loop Movie Parameter | Allows a movie to loop during playback, beginning to end or forward and reverse. | |||||||
|
18
|
Don't Use Browser Parameter to Minimize Browser Caching of Movie Files | Most useful in playing local movies. The movie playback is passed directly to the QT Plugin and bypasses the web browser's need to cache the movie before playing. | ![]() |
||||||
|
19
|
Linking to a Progressive Download Movie | Because a progressive download movie is stored on the http web server, the link to the movie is a simple href statement. | ![]() |
||||||
|
20
|
Linking to a Streaming Movie | Because an RTSP streaming movie is stored on an rtsp video server, the link to the movie is through a "metafile" or "reference movie" on the http server that points to the streaming movie for delivery. | ![]() |
||||||
|
21
|
Linking from a Poster Movie | A poster movie is a proxy, often of the same size as the Actual Movie. The proxy movie, usually of a single frame duration without a controller is placed on the web page. By clicking the Poster Movie, the Actual Movie is launched within the same screen real estate or can be targeted for the QuickTime Player or another frame. | ![]() |
||||||
| 22 | QTRSC Chokespeed Parameter | Specifies that a movie created with a lower data rate can only be downloaded at a certain data rate. Prevents broadband users from hogging bandwidth. | ![]() |
||||||
| 23 | Adding the Plugin Name | Adding name="QuickTime Plugin" or "RealMedia Plugin" to the EMBED statement tells the browser which plugin it should use. | ![]() |
||||||
|
24
|
Adding Plugin Page Source | Adding pluginspage="http://www.apple.com/quicktime" or "http://www.real.com/player" leads the user to the web page from which the correct plugin can be downloaded. | ![]() |
||||||
| 25 | ActiveX Tag Conversion |
Discussion
from Apple |
|||||||