<class home>  <dreamweaver part II>   <back   next>

Inserting and Playing Media

Real Player Files:

src="" (required)
the source of the file


name=""
the name of the embedded file if you want to call it from a script

console="reference name for viewing text area in player"

controls= ""
many types, see below examples

height=height of movie

width=width of movie

Hspace=n
number number space around movie

Vspace=n
number for space around movie


type="audio/x-pn-realaudio-plugin"
the plugin that tells the browser to use Real Player

*note1: IMPORTANT
In order for the controller to appear properly, add 16 pixels to the height of a movie.


Real Player link

example>>>

<html><head><title>linktoReal</title></head><body>
<A href="pla.ram">Click Here for Real Player</A>
</body>
</html>


Real Player Embedded with different controllers

example>>>

<html><head><title>RealAudio Controls</title></head><body>
Here's a look at some of the many possible combinations of RealAudio control panels and buttons:
<P>You can display the Standard Player by itself CONTROLS="All" HEIGHT=125 WIDTH=275 :
<BR>
<EMBED SRC="wheels.rpm" type="audio/x-pn-realaudio-plugin" HEIGHT=125 WIDTH=275 CONSOLE="wheels" CONTROLS="All"></embed>
<P>If you just want the stop and start buttons, try CONTROLS="StopButton,PlayButton" HEIGHT=60 WIDTH=35.
<BR>
<EMBED SRC="wheels.rpm" type="audio/x-pn-realaudio-plugin" HEIGHT=60 WIDTH=35 CONSOLE="wheels" CONTROLS="StopButton,PlayButton"></embed>

<P>You can also display the control panel all by itself with CONTROLS="ControlPanel" HEIGHT=40 WIDTH=275.
<BR>
<EMBED SRC="wheels.rpm" type="audio/x-pn-realaudio-plugin" HEIGHT=40 WIDTH=275 CONSOLE="wheels" CONTROLS="ControlPanel"></embed>

<P>Or the control panel with the status bar CONTROLS="ControlPanel,StatusBar" HEIGHT=60 WIDTH=275:
<BR>
<EMBED SRC="wheels.rpm" type="audio/x-pn-realaudio-plugin" HEIGHT=60 WIDTH=275 CONSOLE="wheels" CONTROLS="ControlPanel,StatusBar"></embed>
<P>Or the control panel with the information bar and volume slider CONTROLS="ControlPanel,InfoVolumePanel" HEIGHT=105 WIDTH=275:
<BR>
<EMBED SRC="wheels.rpm" type="audio/x-pn-realaudio-plugin" HEIGHT=105 WIDTH=275 CONSOLE="wheels" CONTROLS="ControlPanel,InfoVolumePanel"></embed>
<P>Or just the progress bar by itself, CONTROLS="StatusField" HEIGHT=30 WIDTH=275:
<BR>
<EMBED SRC="wheels.rpm" type="audio/x-pn-realaudio-plugin" HEIGHT=30 WIDTH=275 CONSOLE="wheels" CONTROLS="StatusField"></embed>