Re: What about rudamentary flow control.

>What about rudamentary flow control. How do I achieve the following:
>
><SMIL>
>do( time-duration ) {
>	// display video stream
>}
></SMIL>

use the "dur" attribute:

<smil>
  <body>
    <video src="rtsp://www.acme.com/video" dur="10s" />
  </body>
</smil>

>I need some method of saying things like repeat showing this resource for
>ten minutes, or until this event. 

1) Repeat for 10 minutes

Use the "repeat" attribute, and set it to "indefinite":

<smil>
  <body>
    <video src="rtsp://www.acme.com/video" dur="10s" repeat="indefinite"/>
  </body>
</smil>

(won't work in the current preview version of G2, since they didn't
implement it yet - bug them :-) )

2) Repeat until "this event", e.g. an audio reaches a certain time
mark (in the example: 2 seconds).

Use an "end" attribute with an "event value":

<smil>
  <body>
    <par>
      <video src="rtsp://www.acme.com/video" dur="10s" end="id(a)(2s)"/>
      <audio id="a" src="rtsp://www.acme.com/audio" />
    </par>
  </body>
</smil>

>In addition, if the user makes a
>selection then the cycle may have to abruptly stop and proceed to something
>else. Your know - browser stuff.

Would be good if you could be a bit more specific here, but I think
the following is relevant to your question:

<smil>
  <body>
    <a href="http://www.w3.org" show="pause"/>
      <video src="rtsp://www.acme.com/video" dur="10s" end="id(a)(2s)"/>
    </a>
  </body>
</smil>

This plays a video, and the user can click on the video to follow
a link to the homepage of W3C. Of course, you may not want that 
the video continues while the user is perusing this homepage.
To control this, use the "show" attribute, and set it to "pause".

Using hyperlinking, you can also jump into a different part of
the presentation, or to a compeletely different presentation.
Even better, in the latter case you can jump into the *middle*
of a presentation.

Hope this helps

-Philipp

(again, not something you'll find in the G2 preview version)

Received on Wednesday, 17 June 1998 10:51:04 UTC