From: Pat McKeague <[EMAIL PROTECTED]>
Subject: Re: Playing SMIL files locally (CD-ROM)

Try embedding the smil file in a small browser window.
Use a relative reference and a .rpm file:

file: folder/yourfile.smi

here are both the embed and activeX control for a 320
by 240 embedded smil file with no controls and
autostart on. Note the .rpm file in the same directory
as the .html file

<OBJECT ID="media"
CLASSID="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA"
WIDTH="320" HEIGHT="240">
     <PARAM NAME="src" VALUE="yourfile.rpm">
     <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="yourfile.rpm"
WIDTH="320" HEIGHT="240" AUTOSTART="true">
     </embed>
   </object>

Good luck.

Note I have had no luck playing this on a mac:~(

Pat McKeague



--- RealForum <[EMAIL PROTECTED]> wrote:
 > From: Steve McMillen <[EMAIL PROTECTED]>
 > Subject: Re: Playing SMIL files locally (CD-ROM)
 >
 > I beleive the problem is that the player gets its
 > working directory set
 > to the local machine's temp directory by Netscape.
 > One way to avoid
 > this problem is to apply the following method.  It
 > is not the most
 > elegant method but it should get you out of your
 > jam.
 >
 > ------------------------
 > A script can get the full path of the current HTML
 > document using
 > "document.location".  It should be possible to take
 > the first letter of
 > that and choose the appropriate RAM file from a set
 > named something like
 > c_foo.ram, d_foo.ram, e_foo.ram, etc.  Something
 > like:
 >
 > function openRAM(ramPart)
 > {
 >   docURL = window.location;
 >   ramName = docURL.pathname[1] + "_" + ramPart;
 >   window.open (ramName);
 > }
 >
 > You then create a bunch of files like d_foo.ram that
 > contain:
 >
 >    file://d|/demos/foo.smi
 >
 >
 > This seemed to work on my machine.  Of course, it
 > wouldn't work on a
 > Mac.
 > You'd probably want to check the
 > window.clientInformation and only do
 > this for Navigator on PC.
 > ----------------------------------------
 >
 >
 > RealForum wrote:
 >  >
 >  > From: [EMAIL PROTECTED] (Damon Betlow)
 >  > Subject: Playing SMIL files locally (CD-ROM)
 >  >
 >  > Hi,
 >  >
 >  > I need help desperately.
 >  >
 >  > I can't seem to play a SMIL file from a cd-rom or
 > locally in Netscape 4.7.
 >  >
 >  > Works fine with IE 5.0.
 >  >
 >  > I've tried linking directly to the SMIL file,
 > using a .ram file to link to
 >  > the SMIL file with:
 >  > file://test.smi
 >  > and
 >  > file:test.smi
 >  >
 >  > How do I do this?  I need to burn ASAP.


*******************************************************
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