From: "Antonio Carlos Coelho" <[EMAIL PROTECTED]>
Subject: RE: How to...??

Hi there,

Well, your tests were not working mainly because there are
a programming mistake. In the W3C SMIL language (version 1.0)
you are not able to change a clip source by linking to it
even from a RealText file. With RealText you could only link
to another SMIL file or other clip source that will play on
RealPlayer, not in a region; link to a Web Page; or pass any
command to RealPlayer (as play, pause, stop and seek time).
You still have some options: wait for SMIL v.2.0 (a.k.a. Boston),
use something like the example below with 5 SMIL files one
for each video and 1 RT file linking to the SMIL files, or
use a variation of the SMIL that works only on RP7 building
an index file that open the video files on another window.

SMIL File (1 for each video)

<smil>
<head>
<layout>
   <root-layout background-color="white" height="298" width="418"/>
   <region id="test1reg" left="0" top="52" height="150" width="106"
z-index="0" background-color="white"/>
   <region id="iogreg" left="141" top="3" height="17" width="130" z-index="2"
background-color="white"/>
   <region id="iogvideoreg" left="119" top="53" height="245" width="299"
z-index="3" background-color="white"/>
</layout>
</head>
<body>
<par>
   <textstream id="color" src="test1.rt" region="test1reg" fill="freeze"/>
   <textstream id="iog" src="iog.rt" region="iogreg" fill="freeze"/>
//change the name of the video below
   <video src="video1.rm" region="iogvideoreg" fill="remove"/>
</par>
</body>
</smil>

And 1 RealText file (same for all SMIL files)

<window type="generic" height="150" width="100"/>
Part 1: <a href="test1.smi" target="_player"> <b>Test </b> </a><hr/>
Part 2: <a href="test2.smi" target="_player"> <b>Test </b> </a><hr/>
Part 3: <a href="test3.smi" target="_player"> <b>Test </b> </a><hr/>
Part 4: <a href="test4.smi" target="_player"> <b>Test </b> </a><hr/>
Part 5: <a href="test5.smi" target="_player"> <b>Test </b> </a><hr/>
</window>

I hope this could help...

Cheers,
______________________________________________
A C   C O E L H O
Streaming Media Specialist - StarMedia Broadband
Brazil
t +55 11 3043 6565       www.starmedia.com.br

 > From: FearNo1 <[EMAIL PROTECTED]>
 > Subject: How to...??
 >
 > Hi, I saw your posts on the real developers list.  I noticed that you
 > are a "streaming media specialist"....so I thought who is better than
 > you to ask my question...hope u dont mind ;-)
 >
 > Below is the problem I am having with a SMI clip...appreciate any
 > help!  thanx ;-)
 >
 > I have a smi clip, composed of a real video region and 6 real text
 > regions. I made 5 real text files (for 5 of the real text regions) to
 > point to 5 real vieo clips, each clip will run in the video region.
 > A user will click on a real text link, which will play its respective
 > video clip in the video region.  How do I do this?  I was thinking I
 > could make a smil file with a real video region, 6 real text
 > regions, 5 real text and video files...note that each video clip will
 > play in the video region.
 >
 >
 > Below is the real text file of test1.rt.  The user will click on this
 > file (contained in the test.smi file above), which will launch the
 > video clip, test1.rm, in the video region of test1.smi (shown above).
 > I think that the regions of the smi clip shouldnt have to be loaded
 > again, just the real video clip played.
 >
 > <window type="generic" height="30" width="100"/>
 > Part 1: <a href="video\test1.rm">
 > <video src="video\test1.rm" region="iogvideoreg" <b>Test </b> </a>
 > </window>
 >
 > Its not working for me.  What am I doing wrong? thanx
 >


*******************************************************
The RealForum is an email discussion group focused on using RealNetworks
products. The RealForum is a place to post messages about the best methods
for creating content using RealNetworks technologies and the planning and
implementation of streaming-media web sites.  Archives of RealForum can
be found at http://realforum.real.com

If you ever want to remove yourself from this mailing list,
you can send mail to <[EMAIL PROTECTED]> with the following
command in the body of your email message:

    unsubscribe realforum

or from another account, besides the address you subscribed with:

    unsubscribe realforum <[EMAIL PROTECTED]>

Reply via email to