an*******@gmail .com wrote:
Hello cwdjrxyz,
Thank you for the pointers.
Reading through video_multiform at2 source,
I am having difficulty with the following:
<object data="http://www.cwdjr.net/ram/realmix.rpm"
type="audio/x-pn-realaudio-plugin" ....
The plugin is loaded from a remote url.
Is there any way to load the player that is installed on the local
desktop instead?
When disconnected from the internet, the user should still be able to
play the AV files.
The rpm, with the mime type for it given, is just a standard type of
Real playlist file. It points to where the actual media file or files
are stored. This is just standard procedure, and ensures that the
actual media file gets sent to the real player. The Real developer site
has more details on Real than most people ever will wish to know,
including SMIL that Real will play if a SMIL file is directed to it.
The rpm file is:
http://www.cwdjr.net/ram/realmix.smil
In this case it points to the SMIL file at the given url.
If you want to play the smill file locally, you just feed the local
address on the computer where it is stored into the Real Player that
you have brought up. The SMIL2 file is a type of xml file, and in this
case is:
<smil xmlns="http://www.w3.org/2001/SMIL20/Language">
<head>
<layout>
<root-layout width="500" height="450" backgroundColor ="blue" />
<region id="video_regio n" backgroundColor ="blue" z-index="1" />
<regPoint id="middle" left="50%" top="50%" regAlign="cente r" />
<region id="brush_regio n_1" width="25%" height="50%" left="0" top="0"
z-index="2" />
<region id="brush_regio n_2" width="25%" height="50%" left="25%" top="0"
z-index="2" />
<region id="brush_regio n_3" width="25%" height="50%" left="50%" top="0"
z-index="2" />
<region id="brush_regio n_4" width="25%" height="50%" left="75%" top="0"
z-index="2" />
<region id="brush_regio n_5" width="25%" height="50%" left="0" top="50%"
z-index="2" />
<region id="brush_regio n_6" width="25%" height="50%" left="25%"
top="50%" z-index="2" />
<region id="brush_regio n_7" width="25%" height="50%" left="50%"
top="50%" z-index="2" />
<region id="brush_regio n_8" width="25%" height="50%" left="75%"
top="50%" z-index="2" />
</layout>
<transition id="fromBlue" type="spiralWip e" subtype="topLef tClockwise"
dur="5s" />
<transition id="fromStar" type="starWipe" subtype="fivePo int" dur="5s"
/>
<transition id="fromKeyhole " type="miscShape Wipe" subtype="keyhol e"
dur="5s" />
<transition id="fromHexagon " type="hexagonWi pe" subtype="vertic al"
dur="5s" />
<transition id="fromBarnZig Zag" type="barnZigZa gWipe"
subtype="vertic al" dur="10s" />
<transition id="fromFourBox " type="fourBoxWi pe" subtype="corner sIn"
dur="10s" />
<transition id="fromPinWhee l" type="pinWheelW ipe" subtype="fourBl ade"
dur="5s" />
<transition id="fromSnake" type="snakeWipe " subtype="topLef tHorizontal"
dur="10s" />
<transition id="toBlue" type="fade" subtype="fadeTo Color"
fadeColor="blue " dur="5s" />
<transition id="toRed" type="fade" subtype="fadeTo Color"
fadeColor="red" dur="5s" />
<transition id="toGreen" type="fade" subtype="fadeTo Color"
fadeColor="gree n" dur="5s" />
<transition id="toYellow" type="fade" subtype="fadeTo Color"
fadeColor="yell ow" dur="5s" />
</head>
<body>
<seq>
<img src="chttp://www.cwdjr.net/ram/roach.gif" id="image1"
region="video_r egion" dur="34s" width="256" height="256" left="0"
top="0" fill="hold" title="The SMIL Bug">
<animate targetElement=" image1" attributeName=" width" from="256"
to="128" begin="3s" dur="4s" fill="freeze" />
<animate targetElement=" image1" attributeName=" height" values="256;128 "
calcMode="linea r" begin="4s" dur="4s" fill="freeze" />
<animate targetElement=" image1" attributeName=" left" to="196"
begin="9s" dur="4s" fill="freeze" />
<animate targetElement=" image1" attributeName=" top" to="196"
begin="14s" dur="4s" fill="freeze" />
<animateMotio n targetElement=" image1" to="-128,-128" begin="19s"
dur="4s" fill="freeze" />
<set targetElement=" image1" attributeName=" left" to="64" begin="24s"
fill="freeze" />
<set targetElement=" image1" attributeName=" top" to="64" begin="24s"
fill="freeze" />
<animate targetElement=" image1" attributeName=" height" to="256"
begin="26s" dur="4s" fill="freeze" />
<animate targetElement=" image1" attributeName=" width" to="256"
begin="26s" dur="4s" fill="freeze" />
<animateMotio n targetElement=" image1" to="0,0" begin="30s" dur="4s"
fill="freeze" />
</img>
</seq>
<seq>
<par>
<audio
src="chttp://www.cwdjr.net/souopera/Tetrazzini_Caro Nome_1911.rmj"
title="Caro Nome RA" author="Tetrazz ini" />
<img src="chttp://www.cwdjr.net/picsnap/roscoe_foil2.jp g"
region="video_r egion" regPoint="middl e" transIn="fromBa rnZigZag"
transOut="toGre en" begin="2s" fill="remove" dur="240s" z-index="3" />
</par>
</seq>
<!-- remove comment tags from around below code to play midi. It is not
included here as Real may ask you to install the Crescendo plugin to
play the midi. -->
<!--
<seq>
<par>
<audio src="chttp://www.cwdjr.net/ram/cancan.mid" title="Cancan mid" />
<img src="chttp://www.cwdjr.net/picani/dancer_blacktig hts.gif"
region="video_r egion" regPoint="middl e" transIn="fromSt ar"
transOut="toYel low" begin="2s" fill="remove" dur="120s" />
</par>
</seq>
-->
<seq>
<par>
<audio src="chttp://www.cwdjr.net/souearly/ColumbiaExposit ionMarch.wma"
title="Columbia Exposition March WMA" author="Sousa" />
<img src="chttp://www.cwdjr.net/picsnap/roscoe.jpg"
region="video_r egion" regPoint="middl e" transIn="fromFo urBox"
transOut="toYel low" begin="2s" fill="remove" dur="148s" />
</par>
</seq>
<seq>
<par>
<audio src="chttp://www.cwdjr.net/ram/SidewalksOfNewY ork.mp3"
title="Sidewalk s Of New York MP3" />
<img src="chttp://www.cwdjr.net/pic3/burlesque_house 2.jpg"
region="video_r egion" regPoint="middl e" transIn="fromSn ake"
transOut="toRed " begin="2s" fill="remove" dur="95s" />
</par>
</seq>
<seq>
<par>
<audio src="chttp://www.cwdjr.net/ram/ZarahLeander.ra m" title="Zarah
Leander RA" />
<img src="chttp://www.cwdjr.net/ram/aurora5f.jpg" region="video_r egion"
regPoint="middl e" transIn="fromSt ar" transOut="toBlu e" begin="2s"
fill="remove" dur="158s" />
</par>
</seq>
<seq>
<video src="chttp://www.cwdjr.net/ram/eyeslicesmall.r am"
region="video_r egion" regPoint="middl e" title="eye slice - RM"
transIn="fromPi nWheel" transOut="toRed " begin="2s" fill="remove"
dur="70s" />
</seq>
<seq>
<video src="chttp://www.cwdjr.net/ram/pianopullsmall. ram"
region="video_r egion" regPoint="middl e" title="piano pull - RM"
transIn="fromHe xagon" transOut="toRed " begin="2s" fill="remove"
dur="119s" />
</seq>
<seq>
<video src="chttp://www.cwdjr.net/ram/Nosferatu.rmvb"
region="video_r egion" regPoint="middl e" title="Nosferat u - RM"
transIn="fromSt ar" transOut="toRed " begin="2s" fill="remove" dur="175s"
/>
</seq>
<seq>
<par>
<video src="chttp://www.cwdjr.net/ram/caligari.rmvb"
region="video_r egion" regPoint="middl e" title="Cabinet Of Dr Caligari -
RM" begin="4s" />
<brush color="teal" region="brush_r egion_1" begin="0s" end="7s" />
<brush color="fuchsia" region="brush_r egion_2" begin="0.5s" end="9s" />
<brush color="olive" region="brush_r egion_3" begin="1s" end="5s" />
<brush color="red" region="brush_r egion_4" begin="1.5s" end="11s" />
<brush color="purple" region="brush_r egion_5" begin="2s" end="12s" />
<brush color="blue" region="brush_r egion_6" begin="2.5s" end="8s" />
<brush color="maroon" region="brush_r egion_7" begin="3s" end="10s" />
<brush color="navy" region="brush_r egion_8" begin="3.5s" end="6s" />
</par>
</seq>
<seq>
<par>
<audio src="chttp://www.cwdjr.net/ram/donkey.wav" title="donkey wav"
begin="7s" />
<img src="chttp://www.cwdjr.net/pic/horse_fanny3.jp g"
region="video_r egion" regPoint="middl e" transIn="fromBl ue"
transOut="toRed " begin="2s" fill="remove" dur="15s" />
</par>
</seq>
</body>
</smil>
Of course you would also have to point image files to where you store
these on the computer also if you want to be offline when you play the
media.
All of these media are designed for progressive download streaming on a
website. Of course you could store all of the media files in the same
directory as the SMIL file and use relative urls to make it more simple
to play offline. However, I did not care to duplicate a lot of long
media files that I already had stored at various locations on the
server.