I am trying to setup a quick time movie to be able to play with a caption file that is separate from the movie.. I created the caption text file with Magpie, and have also used quicktime to generate a movie of the caption that will work when played in sequence... I wanted to upload 2 versions of the movie, with and without captions, but due to space limitations this isn't going to work.

so.. I am trying to use smil to synchronize the captions and the movie, but whenever I try to view it I get this error
Couldn't open the file city_life_qt_broad_captions.smi because an XML semantic error was encountered.

If I go ahead and try to play the file, I get the error code "-2159"

here is the code on the webpage that calls for the smil file..

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="320" height="240" standby="Data is loading..."
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="video/trialmask2.mov">
<param name="autohref" value="true">
<param name="controller" value="false">
<param name="href" value="city_life_qt_broad_captions.smi">
<param name="target" value="quicktimeplayer">
<embed src="video/trialmask2.mov" type="video/x-quicktime" width="320" height="240"
autohref="true" controller="false" href="city_life_qt_broad_captions.smi" target="quicktimeplayer">
</embed></object>


and here is my smil file...


<smil xmlns:qt="http://www.apple.com/quicktime/resources/smilextensions"
qt:autoplay="true" qt:time-slider="true">
<head>
<layout>
<root-layout background-color="black" width="240" height="246" />
<region id="videoregion" top="0" left="0"
width="240" height="180" />
<region id="textregion" top="180" left="0"
width="240" height="50" />
</layout>
</head>
<body>

<par>
<video src="http://cedsn.com/aaron/video/City_Life_ISDN.mov"
region="videoregion" />

<video src="http://cedsn.com/aaron/video/city_life_caption.mov"
region="textregion" />
</par>

</body>
</smil>



I have also tried setting the source for the textregion using the following code..

<textstream src="http://cedsn.com/aaron/video/citylifecaptions.txt" region="textregion" />

but got the same error..

can anybody tell me why it's not working?
the url for the page itself is http://cedsn.com/aaron/citylifeqtbroadcaptions.php

Thanks!