<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,400);}
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: Aaron Cohen (Intel)
Version: January 29, 2001, v2
Module: Content Control Module
Feature: system tests
File Name: systemTests.smil
Media Components: 2 JPG 
Expected Behavior: A series of system tests, showing the smile.jpg if the
system test condition is true, and the frown.jpg if it is
false. Each lasts 2 seconds, with a 1 second pause in between.
1. show smile.jpg if the system bitrate is set to 56000bps or greater,
otherwise show frown.jpg.
2. show smile.jpg if the system captions are turned on,
otherwise show frown.jpg.
3. show smile.jpg if the system language is "en",
otherwise show frown.jpg.
4. show smile.jpg if the system supports the SMIL21 language,
otherwise show frown.jpg.
5. show smile.jpg if the system screen depth is 8 or greater,
otherwise show frown.jpg.
6. show smile.jpg if the system screen size is 480X640 or greater,
otherwise show frown.jpg.
7. show smile.jpg if the system audio descriptions are turned on,
otherwise show frown.jpg.
8. show smile.jpg if the system CPU is an x86,
otherwise show frown.jpg.
9. show smile.jpg if the system component "someComponent" is present,
otherwise show frown.jpg.
10. show smile.jpg if the system OS is Win32,
otherwise show frown.jpg.
11. show smile.jpg if the system overdub or subtitles are set to overdub,
otherwise show frown.jpg.
<t:seq>        
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemBitrate="56000" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemCaptions="on" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemLanguage="en" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemRequired="SMIL21lang" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemScreenDepth="8" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemScreenSize="480X640" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemAudioDesc="on" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemCPU="x86" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemComponent="someComponent" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemOperatingSystem="win32" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemOverdubOrSubtitle="overdub" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
</t:seq>
</pre>
</DIV>
<smil xmlns="http://www.w3.org/2005/SMIL21/Language"
xmlns:smil21lang="http://www.w3.org/2005/SMIL21/Language">
<t:seq>        
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemBitrate="56000" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemCaptions="on" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemLanguage="en" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemRequired="SMIL21lang" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemScreenDepth="8" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemScreenSize="480X640" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemAudioDesc="on" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemCPU="x86" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemComponent="someComponent" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemOperatingSystem="win32" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
<t:par begin="1s" dur="2s">
<t:switch>        
<t:img style="width:100;height:100" systemOverdubOrSubtitle="overdub" src="../images/smile.jpg" />
<t:img style="width:100;height:100" src="../images/frown.jpg" />
</t:switch>
</t:par>
</t:seq>
</body>
</html>