|
Using Real Audio/Video
Also check out the Windows Media add-in for Microsoft®
FrontPage®
available
here.
To stream Real Audio/Video
content using HTTP:
-
Copy your encoded RealAudio
or RealVideo files (files with the .ra or .rm extensions) to
your World Wide Web server.
-
Use a text editor (such as
Notepad) to create a metafile containing a RealAudio URL.
For example, the contents of your file should be in the
following form:
http://hostname/path/file.ra or http://hostname/path/file.rm
where hostname is the name of your World Wide Web server.
For example: www.real.com
-
Save your metafile in as text
using a .ram filename extension.
-
In your HTML document,
reference the metafile in a hyperlink. For example:
<A HREF="filename.ram"> or
<A HREF="http://hostname/file.ram">
The tag should not be used in your metafile.
You can use relative or complete paths. If you use complete
paths, you must include both the hostname and the complete
path.
For example: <A HREF="http://www.hostname.com/directory/file.ram">
-
When a user clicks on the
link, the audio file(s) begin to download. The RealAudio
Player begins playing after a few seconds; it does not need
to wait for the entire file to be downloaded.
|