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

Re: SMIL Variables

From: Lloyd Rutledge <Lloyd.Rutledge@cwi.nl>
Date: Fri, 14 Jan 2000 11:01:32 +0100
Message-Id: <UTC200001141001.LAA144539.lloyd@klipper.cwi.nl>
To: www-smil@w3.org
cc: Jacob McKee <JMcKee@vectrix.com>

On Thu, Jan 13 2000 Jacob McKee wrote:

> Basically, I need the link on the button to be dynamic based on the entry
> point to the Real clip. So if I click on a link to the movie from the home
> page, the variable "home" is added to the SMIL Link so that it now links to
> "http://www.something.com?HOME"
> 
> Whereas, if I click on a link in the "about us" section, the same link in
> the same Real clip now is "http://www.something.com?ABOUTUS"

Here is some SMIL code for the home page

<video src="video.rv">
  <anchor {top,left,width,heigh atts locate button}
          href="http://www.something.com?HOME">

For the other pages, just replace "HOME" in the href att with whatever
you want to.  In this particular case, you do not need variables to
represent the page the video is played in because you can define the
link in the page itself rather than in the video being included.

-Lloyd

--
Lloyd Rutledge                              vox: +31 20 592 41 27
CWI (Centrum voor Wiskunde en Informatica)  fax: +31 20 592 41 99
PO Box 94079                                net: Lloyd.Rutledge@cwi.nl
NL-1090 GB Amsterdam, The Netherlands       Web: http://www.cwi.nl/~lloyd
Received on Friday, 14 January 2000 05:01:44 UTC

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