This appendix provides examples that show how to set up some simple streaming presentations quickly. This information will aid you if you are a beginning user. Once you are familiar with the basic steps for hosting RealSystem G2 presentations, you can easily create more complex presentations.
|
|
Note |
|---|
| You will need to get the correct URLs for media clips from the RealServer or Web server administrator. Substitute those values for the example URLs shown below. |
It's simple to add a RealAudio or RealVideo clip to your Web page. When you follow the steps listed below, the clip plays back in RealPlayer.
|
|
Additional Information |
|---|
| "Digitizing Audio". "Digitizing Video". |
ramgen parameter, and the RTSP protocol. You can get this information from the RealServer administrator. In your HTML source file, the link will look like this example:
<a href="rtsp://realserver.company.com/ramgen/content/myclip.rm">
Click here</a> to see my RealVideo presentation.
|
|
Additional Information |
|---|
| "Streaming Clips from RealServer G2". |
http://www.company.com/media/myclip.rm
Save this file as plain text with the file extension .ram. This is your RAM file.
|
|
Additional Information |
|---|
| "Creating a RAM File Manually". |
<a href="http://www.company.com/media/myclip.ram">
Click here</a> to see my RealVideo presentation.
|
|
Additional Information |
|---|
| "Playing Clips from a Web Server". |
Using RealPlayer's Netscape plug-in, you can embed a RealVideo clip directly in your Web page by following the steps below after you have encoded your RealVideo clip. This example assumes that the video is 176 pixels wide by 132 pixels high. It places the video window and the full RealPlayer control panel in your Web page.
|
|
Additional Information |
|---|
| "Chapter 8: Playing a Presentation in a Web Page". |
<EMBED> tag with the RealVideo URL, window size, and ImageWindow control. The following example assumes RealServer G2 will stream the presentation:
<EMBED WIDTH=176 HEIGHT=132
SRC="http://realserver.company.com/ramgen/content/myclip.rm?embed"
CONTROLS=ImageWindow CONSOLE=_master>
If you intend to play the clip back from a Web server, use an HTTP URL and link to a RAM file with the extension .rpm (see below) as in the following example:
<EMBED WIDTH=176 HEIGHT=132
SRC="http://www.company.com/media/myclip.rpm"
CONTROLS=ImageWindow CONSOLE=_master>
<EMBED> tags that all use the same URL for the SRC parameter. The following example embeds the full RealPlayer control panel in the Web page, linking it to the image window through the _master console. It assumes RealServer will stream the presentation:
<EMBED WIDTH=400 HEIGHT=120
SRC="http://realserver.company.com/ramgen/content/myclip.rm?embed"
CONTROLS=All CONSOLE=_master>
Use an <EMBED> tag like the following when playing the clip back from a Web server:
<EMBED WIDTH=400 HEIGHT=120
SRC="http://www.company.com/media/myclip.rpm"
CONTROLS=All CONSOLE=_master>
|
|
Tip |
|---|
Because you can place each <EMBED> tag anywhere on
your Web page, you can lay out the image window and
controls using HTML.
|
http://www.company.com/media/myclip.rm
Save this file as plain text with the file extension .rpm. This is your RAM file.