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