logo4.gif (18K)  
 
overlap.gif (1K)home : technologies : audio/video : embedding RealPlayer
 jigsawav.gif (1K)
- home
  design
  technologies
  ideas
  hosting
  management"
  portfolio
  prices
  contact
spacer.gif (1K) overlap2.gif (1K)
  asp
  audio/video
  coldfusion
  databases
  javascript
  php
spacer.gif (1K) overlap2.gif (1K)






introduction audio slideshow video hosting prices

next ›››

embedding RealPlayer

While it is easy to create a simple hyperlink to a .ram file this method of presentation can be a little crude. Why not take advantage of RealPlayers ability to be embedded within a page?

The following are examples of various ways that audio and SMIL files can be embedded into web pages.

<OBJECT ID=RVOCX CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH="250" HEIGHT="100">
  <PARAM name="src" value="catalanshort.ram">
  <PARAM name="autostart" value="false">
  <PARAM name="controls" value="all">
  <PARAM name="console" value="video">
<EMBED SRC="catalanshort.ram"
  WIDTH="250"
  HEIGHT="100"
  CONTROLS="PlayButton,StopButton,VolumeSlider,InfoPanel"
  TYPE="audio/x-pn-realaudio-plugin">
</EMBED>
</OBJECT>

.. of course using the tag:
  <PARAM name="autostart" value="true">
... in place of...
  <PARAM name="autostart" value="false">
... will cause the clip to play automatically.

There is an example of this on our
slideshow demonstration page.

This is also an example of an embedded SMIL file, the code for which is below...

<object id="media" classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="400" height="300">
  <param name="src" value="pnm://www.occupacia.com/realserver/demo.smi">
  <param name="console" value="Clip1">
  <param name="controls" value="ImageWindow">
  <param name="AutoStart" value="TRUE">
<embed controls="ImageWindow" console="Clip1"
  type="audio/x-pn-realaudio-plugin"
  src="pnm://www.occupacia.com/realserver/demo.smi"
  width="400" height="300" autostart="true">
</embed>
</object>

 

other embedding options

There are various options for which RealPlayer™ controls are visible in the plugin. Select from the follwing list:

next ›››

copyright 2008, Rylands Internet Solutions