Question on using Javascript with SMIL

Hello!

I don't know if you can help me out, but I'm trying to use Javascript to
dynamically determine the full path for the Real Media content I'm trying to
play in a SMIL file. 

The path to the Real Media should be something like:
"Http://someserver/somedir/myrealmedia.rm"

I'm able to determine all the correct information about server, directory,
etc. in Javascript, I'm just not sure how I can pass this information into
my SMIL file to set a full path as the source for the Realmedia files. 

- Can this be done? 

- Can I dynamically set the SOURCE for my Real Content?



Here's an example of a SMIL file that I'm using:

<smil>
    <head>
		<!-- Presentation attributes. -->
  		<meta name="title" content="ATM Web Based Training"/>
		<meta name="author" content="General Dynamics"/>
	  	<meta name="copyright" content="General Dynamics (c) 2000"/>
		
			
		<layout>
 			<!-- Width, height, and background color of entire
presentation. -->
			<root-layout id="root" background-color="#FFFFCC"
width="220" height="220"/>
			<!-- TEXT LAYOUT -->
            <region id="text_region" left="0" top="0" height="220"
width="220"/>
      </layout>
	</head>
	
    <body>
		<!-- Play these streams concurrently (in parallel). -->
        <par>
			<!-- AUDIO STREAM -->
		  <audio src="MYREALMEDIA.rm"/>
			<!-- TEXT STREAM -->
			<textstream src="MYREALMEDIA.rt"
region="text_region"/>
        </par>

    </body>
	
</smil>

Thanks in advance!

Jeff Rand
General Dynamics Communication Systems
Support Engineering
400 John Quincy Adams Road, 81-16
Taunton, MA 02780-1069
(508)880-2353
jeff.rand@gd-cs.com


Jeff Rand
General Dynamics Communication Systems
Support Engineering
400 John Quincy Adams Road, 81-16
Taunton, MA 02780-1069
(508)880-2353
jeff.rand@gd-cs.com

Received on Tuesday, 26 September 2000 11:15:33 UTC