W3C home > Mailing lists > Public > www-smil@w3.org > January to March 1999

Switch Tags

From: Shelton, David C <David.Shelton2@unisys.com>
Date: Tue, 2 Feb 1999 16:51:11 -0600
Message-Id: <199902022251.WAA19611@ih85.ea.unisys.com>
To: "'www-smil@w3.org'" <www-smil@w3.org>
I'm having a problem with the switch tags working. Supposedly RealMedia's G2
player supports them, and so does CWI's GRiNS, but the attribute I use don't
seem to work, and I was wondering if there was anything that might cause
this, or if I was typing it wrong. 

The code follows (substitute *.rm for all *.avi and *.wav files for the
RealMedia G2 to play them)

<!-------------------- Code ---------------------->
        <layout type="text/smil-basic-layout">
            <root-layout id="root" height="240" width="430"
            <region id="VideoChannel1" left="30" top="30" height="180"
            <region id="AudioChannel1" left="30" top="180" height="1"
            <region id="AudioChannel2" left="30" top="180" height="1"
        <par endsync="last">
            <video src="V_cin200.avi" id="Video" region="VideoChannel1"/>
	    <seq system-language="en">
            	<audio src="Op1ad.wav" begin="1s" id="Audio1"
            	<audio src="Op2ad.wav" begin="2s" id="Audio2"
	    <seq system-language="fr">
            	<audio src="Op1crdv.wav" begin="1s" id="Audio3"
            	<audio src="Op2crdv.wav" begin="2s" id="Audio4"
            	<audio src="Music44s.wav" id="Audio5"
<!----------------------- End Code -------------------------->

RealMedia understands (the best I can tell) the system-language option of
switch, but GRiNS does not. (in fact, the only thing I can think of that
GRiNS does support is system-bitrate.) does any one know of the different
SMIL's viewers and what Text Attributes are supported? 

From experimenting, I've gotten the following with GRiNS and RealMedia
				GRiNS		RealMedia
system-language		no		yes
system-screen-depth	no		no
system-screen-size	no		no
system-bitrate		yes(?)	?
the rest			?		?

Another question related to the <switch> text attributes, do they have to
match exactly, or is it a => (greater than or equal) or =< (less than or
equal) situation. For example, do I have to specify all screen sizes, or can
I say system-screen-size="800x600" and expect the larger screen sizes to
work with it. From what I can tell, it looks like no, but I'd like to know
for sure.

Thanks in advance,

david s.

ps. all my sample files are on my computer, none have been placed on the web
due to copyright issues. sorry.
Received on Tuesday, 2 February 1999 17:51:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:22 UTC