<html xmlns:t ="urn:schemas-microsoft-com:time" >
<head>
<style>
	 .time    { behavior: url(#default#time2);}
</style>
<?IMPORT namespace="t" implementation="#default#time2">
<script>
function startTimer(){ setInterval(doTimer,100);}
function doTimer(){ document.all.Timer.innerText =parseInt(document.body.currTimeState.activeTime) }
</script>
</head>
<body timecontainer="seq" onbegin="startTimer()" >
<font style="color:black; font-size:16"><b>
Timer:
<span id="Timer" >0</span>
</b></font>
<br><br>
<DIV align="left" style="position:absolute; top:40; left:300;"><pre>
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)
Version: Oct 11th, 2000, v1
Module: SMIL Timing & Sync Module
Feature: priority ordering in pause queue 
File Name: pause_queue_priority2.smil
Media Components: 1 JPG, 1MPG(5.6s), 1WAV (10.1s)
Expected Behavior: the video is played for 3s 
then the sound is played for 3 second too, 
then (at t=6s) the smile picture is shown for 4s, 
then the sound is resumed and is played until its end, 
then the nist video is resumed.
<t:excl> 
<t:priorityClass  peers="pause">
<t:audio  src="../sounds/geminidecho.wav"   id="sound" begin="3s"  /> 
<t:img style="width:100;height:100" src="../images/smile.jpg" begin="6s" dur ="4s" id="image2" />
<t:video style="width:100;height:100" src="../videos/nist.mpg" id="vid" begin="0s" /> 
</t:priorityClass>
</t:excl>
</pre>
</DIV>
<t:excl> 
<t:priorityClass  peers="pause">
<t:audio  src="../sounds/geminidecho.wav"   id="sound" begin="3s"  /> 
<t:img style="width:100;height:100" src="../images/smile.jpg" begin="6s" dur ="4s" id="image2" />
<t:video style="width:100;height:100" src="../videos/nist.mpg" id="vid" begin="0s" /> 
</t:priorityClass>
</t:excl>
</body>
</html>