Copyright: Copyright 1998-2005 W3C (MIT, ERCIM, Keio), All Rights Reserved. See http://www.w3.org/Consortium/Legal/. Author: Muriel Jourdan, Muriel.Jourdan@ERCIMlpes.fr File Name: restart-fill-3.smil Version: Apr. 4, 2000, v1 Module: SMIL Timing & Sync Module Feature: restart attribute and fill attribute Media Components: 1 MPG (Intr Dur 5.6s) , 2 JPG Expected Behavior: show image1 for 16s. When image1 is clicked then start (or restart) img1 for 7s if and only if it is not already active then freeze it. Start (or restart) vid1 when img2 ends. Two relevant executions to test: #a : click img1 at 2s and at 4s : vid1 must start only once #b : click img1 at 2s and 10s : vid1 must be shown twice <t:par dur="20s"> <t:img style="width:100;height:100" id="img1" src="../images/frown.jpg" /> <t:img style="width:100;height:100" id="img2" src="../images/smile.jpg" begin="img1.click" dur="7s" fill="freeze" restart="whenNotActive" /> <t:video style="width:100;height:100" id="vid1" src="../videos/nist.mpg" begin="img2.end" fill="remove" /> </t:par>