Copyright: Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/.
Author: Muriel Jourdan (Muriel.Jourdan@inrialpes.fr)
           Version: Apr. 13, 2000, v1        
            Module: SMIL Timing & Sync Module 
           Feature: endsync
       Description: endsync = first on a par 
         File Name: endsync_first_par5.smil
  Media Components: 1 MPG (intr. dur = 5.6s), 1 JPG
 Expected Behavior: at t=0s the image is displayed, 
                    if the image is clicked  before 10s 
                    then the video is started and the par ends 
                    when the first of the image and the video ends.
                    If the image is not clicked before 10s 
                    then the par never ends and the image is shown indefinitely. 
<smil xmlns="http://www.w3.org/2001/SMIL20/Language">
    <par endsync="first">
      <video src="../videos/nist.rm" begin="image.activateEvent" end="10s"/>
      <img id="image" src="../images/smile.jpg" dur="indefinite"  />