From: "Jeremy Bieger" <[EMAIL PROTECTED]>
Subject: Smil Syntax
Hello. I am trying to create a continuous playlist of audio files, but
having a very hard time. When the end of one file is reached, the next one
won't play without pressing the "next" or "play" button.
I've stumbled upon the following observation: If I reference any of the
files by the full URL (rtsp:real.propagation.net/realaudio/bu2z/1.rm in my
case) as opposed to a relative URL (1.rm), then the files WON'T play
continuously. That includes using a meta base URL in the head of the smil
file. Otherwise it works great.
Since the real media files won't be on the same server as the smil file, I
need to use some sort of base URL or specify the full (rtsp://...) URL in
the audio tag of the smil file.
You can check the two versions of my smil files here:
rtsp://real.propagation.net/realaudio/bu2z/test.smil
rtsp://real.propagation.net/realaudio/bu2z/test-no-base-url.smil
The second example will work fine, the first won't. The only difference is
the meta base URL tags. Again, the only problem is that I NEED the first one
to work, as the two files (smil and rm) won't be on the same server and
therefore can't be referenced by a relative URL.
This is the code in question:
<smil>
<head>
<meta name="title" content="asdf"/>
<meta name="author" content="whatever"/>
<meta name="copyright" content="(c) 1831"/>
<meta name="base"
content="rtsp://real.propagation.net/realaudio/bu2z/"/>
</head>
<body>
<seq>
<audio src="1.rm" title="yes"/>
<audio src="2.rm" title="no"/>
<audio src="3.rm" title="maybe"/>
</seq>
</body>
</smil>
Anyone have some insight for me? I'm kinda at a loss. Could this be a server
setting, a client setting, or is the smil code in some way wrong?
Thanks in advance,
Jeremy