From: Andrew Wason <[EMAIL PROTECTED]>
Subject: Re: using relative directory structures with SMI files

At 09:51 AM 12/2/99 -0800, RealForum wrote:

 ><switch>
 >    <par system-bitrate="64000">
 >      <!--for dual isdn and faster -->
 >      <audio src="filename_dual_isdn.rm"/>
 >    </par>


I think you can put the system-bitrate attribute directly on the <audio>
element and avoid all the <par> elements since they only contain a single
element.

<switch>
    <audio src="filename_dual_isdn.rm" system-bitrate="64000"/>
    <audio src="filename_56k.rm" system-bitrate="32000"/>
    <audio src="filename_28k.rm" system-bitrate="20000"/>
</switch>



 >It of course works locally, -- but when I attempt to access these SMI files
 >on the webserver, .. I get an error message and it craps out.   Ideally, we
 >would like to be able to upload the 3 realaudio files AND the SMI file to
 >the same folder on the server and to NOT have to include the full paths to
 >the realaudio files in the SMI files.  These full paths woulld be changing
 >frequently from artist to artist, and it would be nice to be able to
 >eliminate that additional programming step.  Is there ANY way at all to get
 >this to work without having to include the full paths to the 3 realaudio
 >files in the SMI files?  If so, how?


If you are linking to the SMIL file directly from a web browser, then
relative links won't work (they will be relative to the temp directory the
browser downloads the SMIL file to).  Use a RAM file to point to the SMIL
file and point the browser at the RAM.

Andrew


--
Andrew Wason
softcom
[EMAIL PROTECTED]


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