<!--
            Copyright: Copyright 1998-2005  W3C (MIT, ERCIM, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/.
Author: Aaron Cohen (Intel), Jeff Boston (IBM)
           Version: May 1, 2001
            Module: Timing and Synchronization
           Feature: Interval logic and events
         File Name: interval_logic_and_events_1.smil
  Media Components: 2 QT, 1 JPG
 Expected Behavior: the smil image is shown from 0 to 20s
                    the video2 begins at 5s and plays until 15s.
                    the video1 is shown at 10s, starting 5s into the video.
                    a click before 10s will do nothing. After 10s,
                    video1 will play until a click occurs on the smil image.
                    if no click occurs between 10s and 20s, then there is no way
                    to generate the smile.activateEvent and the video
                    will play indefinitely.
-->
<smil xmlns="http://www.w3.org/2005/SMIL21/Language">
<body>
        <par>
                <img id="smile" begin="0s" dur="20s"
src="../images/smile.jpg"/>
                <par id="par1" begin="10s">
                        <video id="video1" begin="-5s"
end="smile.activateEvent" src="../videos/nasa.qt"/>
                </par>
                <video id="video2" begin="video1.begin" dur="10s"
src="../videos/nasa.qt"/>
        </par>
</body>
</smil>