|
QUICKTIME LINKING
- This technique opens the movie in QT player
Create a text file (Mac users can use Text Edit or BBedit,
and Windows users can use Notepad) and include the following
link:
<?xml version="1.0"?>
<?quicktime type="application/x-quicktime-media-link"?>
<embed src="rtsp://quick.iFactorystream.net/account/filename.mov"
autoplay="true" />
The parameters you personalize are in bold:
Account is the account name we give you
when you purchase your streaming account and filename.mov
is the name of your .mov file saved on the streaming server.
The file must be saved with the .qtl extension with no spaces.
and saved to your WEB SERVER not your streaming server.
Now in your html page you can make a simple href to the file
you have just created. When a user clicks the link the browser
will open QT Player and play the clip.
.qtl files are so small they can be easily sent by e-mail
too as an invite to your audience.
Linking
With tag <OBJECT>
- This technique embeds the movie in your web page
tag <OBJECT> allows you to incorporate a link to
a clip directly in the html page, using a .mov metafile.
Phase 1
Create a .mov metafile as done for the .qtl (see instruction
above) but with the following text instead:
rtsptext rtsp://quick.iFactorystream.net/account/filename.mov
The parameters that you need to personalise are in bold:
Account is the account name we give you when you purchase
your streaming account, and filename.mov is the name of your
QT file saved on the streaming server.
The file must be saved with the .mov extension with no spaces
and saved to your WEB SERVER not your streaming server.
Phase 2
Copy and paste the following code in the area of your web
page where you intend the clip to be viewed:
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
WIDTH="320" HEIGHT="240"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="src" VALUE="filename.mov">
<PARAM name="autoplay" VALUE="true">
<PARAM name="controller" VALUE="true">
<EMBED
TYPE="video/quicktime"
SRC="filename.mov"
WIDTH="320"
HEIGHT="240"
AUTOPLAY="true"
CONTROLLER="true">
</EMBED>
</OBJECT>
The paramaters that you need to personalise are in bold:
WIDTH e HEIGHT specify the pixel dimension of the clip;
VALUE e SRC= specify the .mov metafile file saved on the web
server;
AUTOPLAY="true" starts the clip automatically; with
AUTOPLAY="false" the clip appears in pause mode;
SHOWCONTROLS="true" enables the player controls
to be visible
SHOWCONTROLS="false" hides the player controls
If you choose SHOWCONTROLS="1" it is necessary to
increase the Height value by 16 in order to enable the player
controls to be visible and avoid distorsion of the video. |