SMIL 2.1 Test Suite

Timing Module

Editors:
Wo Chang (wchang@nist.gov),NIST/ITL
Thierry Michel (tmichel@w3.org),W3C


New SMIL 2.1 Features:
[Layout] [Media] [Transitions]

Other SMIL 2.1 Features:
[Animation] [Content] [Layout] [Linking] [Media] [Metadata] [Structure] [Timing] [Transition] [Time Manipulation] [Profile]

Overview

The following testcases for the Timing Module features remain unchanged from the SMIL 2.0 Test Suite.
(The test cases remain the same, apart from having been updated with the SMIL 2.1 Namespace and DTD declaration).

Testcases

SMIL Timing & Synchronization Module (report template)
Test # Feature Test (test file) Expected Behavior  
1 begin attribute  
1.1 begin as offset from start of par
(smil, source)
(xhtml+smil, source)
  1. 5 seconds delay,
  2. show image for 10 seconds.
1.2 begin with "begin" syncbase value
(smil, source)
(xhtml+smil, source)
  1. show 1st image,
  2. 1 second pause,
  3. show 2nd image.
1.5 begin with event value
(smil, source)
(xhtml+smil, source)
  1. play audio file on image click within 30 seconds
1.6 begin with scheduled and event values
(smil, source)
(xhtml+smil, source)
  1. play audio on image click or after 10 seconds
1.7 begin with "end" syncbase value
(smil, source)
(xhtml+smil, source)
  1. show 1st image for 5 seconds,
  2. 1 second pause,
  3. show 2nd image
1.8 begin with indefinite
(smil, source)
(xhtml+smil, source)
  1. images1 shown for 5s
1.10 begin value = wallclock
(smil, source)
(xhtml+smil, source)
  1. image shown at noon for 5s
1.11 begin with SMIL 1.0 syncbase values begin
(smil, source)
(xhtml+smil, source)
  1. 2 images shown for 5s
1.12 begin with SMIL 1.0 syncbase values end
(smil, source)
(xhtml+smil, source)
  1. image shown for 5s
  2. then another image show for 5s
1.13 begin with SMIL 1.0 syncbase values clockvalue
(smil, source)
(xhtml+smil, source)
  1. image 1 shown between [0s, 5s]
  2. image2 shown between [3s, 8s]
1.14 begin = syncbase with negative offset
(smil, source)
(xhtml+smil, source)
  1. 1st image shown for 5s
  2. 2nd image shown at 3s for 3s
1.15 Firing begin and end events (case1)
(smil, source)
(xhtml+smil, source)
  1. only the second picture is shown during 4s
1.16 Firing begin and end events (case2)
(smil, source)
(xhtml+smil, source)
  1. Nothing is shown
1.17 Beginsyncbase
(smil, source)
(xhtml+smil, source)
  1. Nothing is shown
1.18 begin with multiple conditions including mix of scheduled and interactive
(smil, source)
(xhtml+smil, source)
  1. play audio file on image click or at 10s
1.19 begin attribute and Negative Delay (1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The video start to play at t=2s but from its middle point instead of its begining.
1.20 begin attribute and Negative Delay (2)
(smil, source)
(xhtml+smil, source)
  1. The audio start to play at t=2s but its first three seconds are skipped.
1.21 begin attribute and Negative Delay (3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The image is shown for 5S
  2. then The video start to play but from its middle point instead of its begining.
1.22 begin attribute and Negative Delay (4)
(smil, source)
(xhtml+smil, source)
  1. image1 begin to be shown from t=3s to 8s.
  2. image2 begin to be shown from t=0s to 4s.
1.23 begin attribute and Negative Delay (5)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=2s, the video is played but it begins at its middle point,
  2. at t=4.8s the first iteration of the video ends
  3. and the second one begins from the begining of the video.
1.24 begin attribute and Negative Delay (6)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=5s foo is shown for 6s
  2. if the foo is cliked between [5s,11s]
  3. then play the video until its end,
  4. otherwise the document ends at t=11s.
1.25 begin attribute and Negative Delay (7)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. foo is shown for 10s.
  2. When/if foo is clicked
  3. then the video starts to play
  4. but its three first seconds are skipped (we only see vid during 2.6s).
1.26 begin attribute and Negative Delay (8)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. foo is shown for 10s.
  2. When/if foo is clicked
  3. then the video starts to play
  4. but its three first seconds are skipped (we only see vid during 2.6s)
  5. and frown is displayed for 3s.
1.27 begin attribute and Negative Delay (9)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. foo is shown for 10s.
  2. When/if foo is clicked
  3. then the video starts to play
  4. but its three first seconds are skipped (we only see vid during 2.6s)
  5. and frown is displayed for 6s.
1.35 begin=accessKey
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played as soon as the caracter "a" is pressed by the user.
1.36 begin=id.begin with id that never starts
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. only the video is played for 5.6s
1.37 begin=id.begin with id that is defered
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 4s,
  2. then the smile image is shown for 4s,
  3. then a blank of 3s,
  4. then the smile image is shown for 5s
1.38 begin=id.begin id not a sibling (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the audio starts and the smile picture is displayed.
  2. At t=10s the audio stops,
  3. at t=12s the smile picture disappeared and the frown picture appears for 5s.
1.39 begin=id.begin id not a sibling (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the audio starts and the smile picture is displayed.
  2. At t=3s the smile picture disappeared and both the frown picture is shown and the video starts to play from its middle point.
1.40 begin=id.begin id not a sibling (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the audio starts and the smile picture is displayed.
  2. At t=3s the smile picture disappeared and both the frown picture is shown and the video starts to play from its middle point.
  3. When the video ends, it is restarted once from its beginning.
2 dur attribute  
2.1 finite dur in par
(smil, source)
(xhtml+smil, source)
  1. image shown for 2s
2.2 indefinite dur in par
(smil, source)
(xhtml+smil, source)
  1. image shown for for indefinite
3 end attribute  
3.1 end as offset from start of par
(smil, source)
(xhtml+smil, source)
  1. play for 3 seconds
3.2 end with "begin" syncbase value
(smil, source)
(xhtml+smil, source)
  1. audio for 3 seconds - ends when image begins
3.3 End value as end of a frozen element
(smil, source)
(xhtml+smil, source)
  1. the first and the third pictures are shown 5s
3.5 end value = event
(smil, source)
(xhtml+smil, source)
  1. end audio file on image click
  2. End presentation on image click if audio has played for its 26.2 second duration
3.6 end with indefinite
(smil, source)
(xhtml+smil, source)
  1. image1 shown for 5s,
  2. image2 shown indeffinitely
3.8 end value = wallclock
(smil, source)
(xhtml+smil, source)
  1. image shown until noon
3.9 end with SMIL 1.0 syncbase values begin
(smil, source)
(xhtml+smil, source)
  1. 1st image shown for 2s
  2. 2nd image shown for 5s
3.10 end with SMIL 1.0 syncbase values end
(smil, source)
(xhtml+smil, source)
  1. 1st image shown for 5s
  2. 2nd image shown at 2s for 3s
3.11 end with SMIL 1.0 syncbase values clockvalue
(smil, source)
(xhtml+smil, source)
  1. 1st image shown between [0s, 5s]
  2. 2nd image shown between [0s, 3s]
3.12 end = syncbase with negative offset
(smil, source)
(xhtml+smil, source)
  1. 1st image shown for 5s
  2. 2nd image shown for 3s
3.13 end = syncbase with negative offset (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video and the picture starts to be presented
  2. if the user clicks before 15.8s
  3. then both the video and the picture are removed
  4. Otherwise the picture is removed at 15.8s and
  5. the video ends either if the user clicks or at t=23.8s
3.14 end = syncbase with negative offset (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video and the picture starts to be presented
  2. the picture is removed at 3.6s and the video ends at t=5.6s
3.15 end = syncbase with negative offset (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video and the picture starts to be presented.
  2. they are both removed at t=5.6s
3.16 end = syncbase (case 4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the picture is shown indefinitely.
3.17 end = syncbase (case 5)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. nothing is shown
3.18 end = syncbase with positive offset
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video and the picture start to be presented
  2. at t=0s. The video ends at t=5.6s and freezes
  3. its last frame until the par ends at 8.6s. The picture ends at t=8.6s.
3.19 end with multiple end values = event and clock
(smil, source)
(xhtml+smil, source)
  1. end audio on image click within 10s or after 10s
3.20 end = eventbase (case 1)
(smil, source)
(xhtml+smil, source)
  1. the two pictures start to be presented,
  2. if the button one is clicked before 10s
  3. then the second picture stops to be shown.
  4. Otherwise the two picture disappeared at t=10s
3.21 end = eventbase (case 2)
(smil, source)
(xhtml+smil, source)
  1. First image shown at 0s,
  2. second image shown at 4s.
  3. Second image disappears with click on first image after 4s,
  4. or both images disappeared at 10s.
3.22 end with multiple conditions including mix of scheduled and interactive
(smil, source)
(xhtml+smil, source)
  1. show image, play audio file end on image click or at 10s
4 Repeats  
4.1 Normal use of Repeatcount
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. video is played twice
4.2 repeatCount is numeric (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the following sequence is repeated twice#
  2. play the video (5.6s) and freeze its last frame during about 2.4s.
4.3 repeatCount is numeric (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played twice with each 5s
4.4 repeat with begin attribute
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. Nothing during 6s then the video is played twice.
4.5 RepeatCount with begin (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the following sequence is repeated twice:
  2. wait 6s and then play the video (5.6s)
4.6 repeatCount attribute with partial repeat
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played twice and an half
4.7 RepeatCount on discrete object
(smil, source)
(xhtml+smil, source)
  1. nothing is shown
4.8 repeatCount and indefinite dur
(smil, source)
(xhtml+smil, source)
  1. the picture is shown indefinitely
4.9 RepeatCount = indefinite, RepeatDur = finite
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The 5 first seconds of the video are played twice
4.10 RepeatCount = finite, RepeatDur = indefinite
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The 5 first seconds of the video are played twice
4.11 RepeatCount = indefinite, RepeatDur = indefinite
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The 5 first seconds of the video are repeated indefinitely
4.12 repeatCount is indefinite
(smil, source)
(xhtml+smil, source)
  1. play first 2s of audio file over and over...
4.13 Normal use of Repeatdur
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. video is played once then it is restarted for 3s
4.14 Repeatdur lower than intrinsic dur
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. video is played during 4s
4.15 Repeatdur on discrete object
(smil, source)
(xhtml+smil, source)
  1. the picture is shown during 5s
4.16 Repeatdur and indefinite dur
(smil, source)
(xhtml+smil, source)
  1. the picture is shown during 5s
4.17 Repeatdur = indefinite on a discrete object
(smil, source)
(xhtml+smil, source)
  1. nothing is shown
4.18 Repeatdur = indefinite on a continuous object
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video repeats indefinitely
4.19 repeatDur is indefinite
(smil, source)
(xhtml+smil, source)
  1. play first 2s of audio file over and over...
4.20 repeat (ill defined behavior but must be supported)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video twice
4.21 begin=repeat
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the image is shown for 8s and
  2. at=6s the video starts
4.22 dur=clock value on a continuous object (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video starts and is interrupted at t=4s
4.23 dur=clock value on a continuous object (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video starts and is frozen between 5.4s and 8s.
4.24 dur=clock value on a continuous object (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video starts and is frozen between 5.4s and 8s.
4.25 dur=clock value on a continuous object (case 4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video starts and ends at t= 5.4s
5 Time Manipulations - speed  
6 Time Manipulations - accelerate and decelerte  
7 Time Manipulations - autoReverse  
8 computing active duration  
8.1 intrdur_end_audio
(smil, source)
(xhtml+smil, source)
  1. play audio for 26.2s
  2. delay 5s
  3. show second picture for 5s
8.2 intrdur_end_video
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video for 5.6s
  2. last video frame should stay on for 5s
  3. show second picutre for 5s
8.3 intrdur_end_video_fill_remove
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video for 5.6s
  2. last video frame should stay on for 5s
  3. blank during 2s
  4. show second picture for 5s
8.4 dur and repeatCount
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video of 5s twice
8.5 dur and repeatDur
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video of 5s twice
8.6 dur and repeatCount used with end
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video of 5s twice
8.7 dur and repeatDur used with end
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video of 5s twice
8.8 implicit dur used with repeatCount
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video for full 11.3s and one more of 8.6s
8.9 implicit dur used with repeatDur
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video for full 11.3s and one more of 8.6s
8.10 indefinitely repeatCount
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video indefinitely
8.11 indefinitely repeatDur
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play video indefinitely
8.12 Repeatdur = indefinite on a discrete object
(smil, source)
(xhtml+smil, source)
  1. only the frown picture is shown for 5s
8.13 Repeatdur on a discrete object
(smil, source)
(xhtml+smil, source)
  1. only the frown picture is shown for 5s
9 fill attribute  
9.1 Fill = freeze in a par
(smil, source)
(xhtml+smil, source)
  1. the two pictures are shown 5s
9.2 Fill = freeze on a par node (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=4 image1 disappears,
  3. at t=7 the video ends
  4. at t=11 image2 is shown for 3s
9.3 Fill = freeze on a par node (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=7 the video ends
  3. at t=11s image1 disappears
  4. then image2 is shown for 3s
9.4 Fill = freeze on a par node (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=4 image1 disappears,
  3. at t=7 the video ends and disappears,
  4. then blank for 4s,
  5. then image2 is shown for 3s
9.5 Fill = freeze on a par node (case 4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s image1 and the video are shown,
  2. at t=7s the video ends,
  3. at t=14s image1 disappears,
  4. then image2 is shown for 3s
9.6 Fill = hold in a par
(smil, source)
(xhtml+smil, source)
  1. the two pictures are shown 5s
9.7 Fill = hold on a par node
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=7s the video ends,
  3. at t=14s image2 is shown for 3s,
  4. at t=17s image1 disappears
9.8 Fill = remove in a par
(smil, source)
(xhtml+smil, source)
  1. only the image2 is shown 5s
9.9 Fill = remove on a par node (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=4s image1 disappears,
  3. at t=7s the video ends,
  4. then a blank for 4s,
  5. then image2 is shown for 3s
9.10 Fill = remove on a par node (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=7 the video ends and image1 disappears,
  3. then a blank for 4s,
  4. then image2 is shown for 3s
9.11 Fill = remove on a par node (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0 image1 and the video are shown,
  2. at t=7s the video ends,
  3. at t=10s image1 disappears,
  4. then a blank for 4s,
  5. then image2 is shown for 3s
9.12 Fill = Freeze in Seq (case1)
(smil, source)
(xhtml+smil, source)
  1. don't play the first picture
  2. the second picture is shown 5s
9.13 Fill = Freeze in Seq (case2)
(smil, source)
(xhtml+smil, source)
  1. play the first picture for 4s
  2. the second picture is shown 5s
9.14 Fill = Freeze in Seq (case3)
(smil, source)
(xhtml+smil, source)
  1. don't play the first picture
  2. play the second picture for 4s
  3. play the third picture for 5s
9.15 Fill = Freeze in Seq (case4)
(smil, source)
(xhtml+smil, source)
  1. play the first picture for 8s then
  2. the second picture is shown 5s
9.16 Fill = Freeze in Seq (case5)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play the video 5.6 sec
  2. keep the last frame of the video for 4s
  3. the second picture is shown 5s
9.17 Fill = Freeze in Seq (case6)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. only play the video for 5.6s
  2. the second picture is not shown
9.18 Fill = Freeze in Seq (case7)
(smil, source)
(xhtml+smil, source)
  1. play the first picture for 4s
  2. the second picture is shown 6s
9.19 Fill = Freeze in Seq (case8)
(smil, source)
(xhtml+smil, source)
  1. play the audio for 5s,
  2. a delay of 4s,
  3. the picture is shown 5s
9.20 Fill = Freeze on a seq node (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then video is played for 5s,
  3. then a blank of 4s,
  4. then image2 is shown for 3s
9.21 Fill = Freeze on a seq node (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then video is played for 5s,
  3. then then a blank of 4s,
  4. then image2 is shown for 3s
9.22 Fill = Freeze on a seq node (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then video is played for 5s,
  3. then its last displayed frame is frozen for 7s,
  4. then image2 is shown for 3s
9.23 Fill = Freeze on a seq node (case 4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 13s,
  2. at t=4s the video is played for 5s,
  3. at t= 13s image2 is shown for 3s
9.24 Fill = Freeze on a seq node (case 5)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then video is played for 5s,
  3. then a blank for 7s,
  4. then image2 is shown for 3s
9.25 Fill = remove on a seq node (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then the video is played for 5s,
  3. then a blank for 4s,
  4. then image2 is shown for 3s
9.26 Fill = remove on a seq node (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then video is played for 5s,
  3. then a blank for 4s,
  4. then image2 is shown for 3s
9.27 Fill = remove on a seq node (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then video is played for 5s,
  3. then its last displayed frame is frozen for 3s,
  4. then a blank for 4s,
  5. then image2 is shown for 3s
9.28 Fill = remove on a seq node (case 4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 9s,
  2. at t=4s the video is played for 5s,
  3. then a blank for 4s,
  4. then image2 is shown for 3s
9.29 Fill Freeze in Seq and delayed download
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the first picture is shown until the video appears at the screen
9.30 fill = remove in seq
(smil, source)
(xhtml+smil, source)
  1. first image shown 2s, removed, then second shown 2s
9.31 Fill = hold in seq (case1)
(smil, source)
(xhtml+smil, source)
  1. the two pictures are shown 5s
9.32 Fill = hold in seq (case2)
(smil, source)
(xhtml+smil, source)
  1. the two pictures are shown,
  2. the first one shown for 7s,
  3. the second one shown for 5s
9.33 fill = hold on a seq container (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then video is played for 5s,
  3. then its last displayed frame is frozen for 6s,
  4. at t=12s image2 is shown for 3s
9.34 fill = hold on a seq container (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 12s.
  2. at t=4s the video is played for 5s,
  3. at t=9s image2 is shown for 3s
9.35 fill = freeze in excl
(smil, source)
(xhtml+smil, source)
  1. first image shown 2s, frozen for 2s,
  2. then second shown 2s,
  3. then presentation ends.
9.36 fill = remove in excl
(smil, source)
(xhtml+smil, source)
  1. first image shown 2s, removed,
  2. then 2s of nothing shown,
  3. then second shown 2s,
  4. then presentation ends
9.37 fill = hold in excl
(smil, source)
(xhtml+smil, source)
  1. first image shown 2s,
  2. then frozen for duration of presentation,
  3. at 4s second image shown 2s,
  4. then presentation ends.
9.38 fill = freeze with repeat
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played twice with dur 5s each
  2. and then is frozen 3s
9.39 By default value of fill on a time container node (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then the video is played for 5s,
  3. video is removed at t=9s,
  4. nothing is shown between 9s and 13s
  5. then at t=13s, image2 is shown for 3s
9.40 By default value of fill on a time container node (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then video is played for 5s,
  3. then its last displayed frame is frozen for 3s,
  4. then a blank for 4s,
  5. then image2 is shown for 3s
9.41 By default value of fill on a time container node (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. image1 is shown for 4s,
  2. then video is played for 5s,
  3. then its last displayed frame is frozen for 3s,
  4. then a blank for 4s,
  5. then image2 is shown for 3s
9.42 DefaultFreeze_Seq1
(smil, source)
(xhtml+smil, source)
  1. don't play the first picture
  2. the second picture is shown 5s
9.43 DefaultFreeze_Seq2
(smil, source)
(xhtml+smil, source)
  1. play the first picture for 4s
  2. the second picture is shown 5s
9.44 DefaultFreeze_Seq3
(smil, source)
(xhtml+smil, source)
  1. don't play the first picture & play the second picture for 4s
  2. play the third picture for 5s
9.45 DefaultFreeze_Seq4
(smil, source)
(xhtml+smil, source)
  1. play the first picture for 4s
  2. delay for 4s
  3. the second picture is shown 5s
9.46 DefaultFreeze_Seq5
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play the video for 6.6s
  2. keep the last frame of the video for 4s
  3. the second picture is shown 5s
9.47 DefaultFreeze_Seq6
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play the video for 6s
  2. delay for 4s
  3. the second picture is shown 5s
9.48 DefaultFreeze_Seq7
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. only play the video for its entirety (5.6s)
  2. the second picture is NOT shown
9.49 DefaultFreeze_Seq8
(smil, source)
(xhtml+smil, source)
  1. play the first picture for 4s
  2. the second picture is shown 6s
9.50 DefaultFreeze_Par1
(smil, source)
(xhtml+smil, source)
  1. two pictures are shown for 5s
9.51 DefaultFreeze_Par2
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play picture for 8s
  2. play video for 5.6s
  3. and keep the last frame of the video until t=8s
9.52 DefaultFreeze_Par3
(smil, source)
(xhtml+smil, source)
  1. nothing is shown
10 Restart Elements  
10.1 Test event based and multiple begin condition situations with all three possible attributes.
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. display frown for 15s
  2. if frown is clicked and smile is not
  3. then display smile for 5s.
  4. if smile not visible at 5s, display smile.
  5. whenever frown is clicked start vid1
  6. start or restart vid1 at 5s whether playing or not
  7. start vid2 at 5s or when frown first clicked, but not both
10.2 Test that restart state is reset when simple dur of parent time container ends (restart only applies within single iteration of parent time container).
(smil, source)
(xhtml+smil, source)
  1. 2s pause, then first image shown 5s,
  2. second image shown 5s when first is clicked.
  3. another 2s pause and then first image shown 5s,
  4. and second image shown 5s when first is clicked
10.3 Test propogation of restart to elements that are syncbase dependents, test all combinations.
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. display frown indefinitely
  2. 1s after frown is clicked, display smile for 5s
  3. when smile is displayed, start vid1 and vid2
  4. smile disappears after 5s,
  5. clicking again on frown will restart vid1,
  6. but not vid2.
10.4 Test for immediate evaluation of restart upon restart of syncbase element
(smil, source)
(xhtml+smil, source)
  1. display frown for 30s
  2. when frown is clicked, display smile for 5s
  3. 1s later start audio
  4. restart smile whenever frown clicked,
  5. and restart audio 1s later.
10.5 restart attribute and fill attribute (1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. show image1 for 26s.
  2. Each time image1 is clicked
  3. then start (or restart vid1) for 5.6s
  4. then freeze it.
10.6 restart attribute and fill attribute (2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. show image1 for 26s.
  2. When image1 is clicked
  3. then start (or restart) vid1 for 5.6s
  4. if and only if it is not already active
  5. then freeze it.
10.7 restart attribute and fill attribute (3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. show image1 for 16s.
  2. When image1 is clicked
  3. then start (or restart) img1 for 7s
  4. if and only if it is not already active
  5. then freeze it.
  6. Start (or restart) vid1 when img2 ends.
10.8 restart on a time container (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the picture and the video starts and at t=4s they are both restarted for 5s.
10.9 restart on a time container (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video starts,
  2. at t=4 it is restarted and
  3. at t=9s the image is shown for 5s
10.10 restart on a time container (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video and the smile picture start,
  2. at t=4 the video is restarted and
  3. at t=5s the frown image is shown for 5s
10.11 restart on a time container (case 4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the smile picture starts,
  2. at t=3 the video starts and
  3. at t=5s the video is restarted but near its middle point and only for 3.6 seconds.
10.12 restart toggle activation
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the first click on image1 starts the video
  2. the second one interrupts it,
  3. the third one starts the video once again
  4. the fourth one interrupt it and so one.
11 event handling  
11.2 event handling toggle activation (case 1)
(smil, source)
(xhtml+smil, source)
  1. audio off at first,
  2. toggle audio on/off
  3. when image clicked, end presentation at 30s.
11.3 event handling toggle activation (case 2)
(smil, source)
(xhtml+smil, source)
  1. audio on at first,
  2. toggle audio off/on
  3. when image clicked, end presentation at 30s.
11.4 event handling with default restart (case 1) activation
(smil, source)
(xhtml+smil, source)
  1. audio off at first,
  2. starts from beginning
  3. whenever image is clicked, presentation ends at 30s.
11.5 event handling with default restart (case 2) activation
(smil, source)
(xhtml+smil, source)
  1. audio off at first,
  2. restarts from beginning
  3. whenever image is clicked, presentation ends at 30s.
11.6 event handling with always restart (case 1)
(smil, source)
(xhtml+smil, source)
  1. audio off at first,
  2. starts from beginning
  3. whenever image is clicked, presentation ends at 30s.
11.7 event handling with always restart (case 2)
(smil, source)
(xhtml+smil, source)
  1. audio off at first,
  2. restarts from beginning
  3. whenever image is clicked, presentation ends at 30s.
11.8 event handling with never restart activation
(smil, source)
(xhtml+smil, source)
  1. audio off at first,
  2. starts from beginning
  3. when image is clicked, cannot be restarted,
  4. plays through until the end.
11.9 event handling with never restart activation
(smil, source)
(xhtml+smil, source)
  1. audio off at first,
  2. starts from beginning
  3. when image is clicked, cannot be restarted,
  4. plays through or until button is again clicked.
11.10 event handling with whenNotActive restart activation (case 1)
(smil, source)
(xhtml+smil, source)
  1. audio off at first,
  2. starts from beginning
  3. when image is clicked, plays through until the end
  4. can be restarted when finished.
11.11 event handling with whenNotActive restart activation (case 2)
(smil, source)
(xhtml+smil, source)
  1. audio off at first,
  2. starts from beginning
  3. when image is clicked, plays through until the end
  4. or stops when image clicked again (toggles),
  5. can be restarted when not playing.
13 par time container  
13.1 Par time container without attribute (case 1)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown for 5s,
  2. the second one is shown for 8s
13.2 Par time container without attribute (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the first picture is shown for 5s,
  2. the second one is shown for 8s, then the video is played
13.3 timeContainer
(xhtml+smil, source)
  1. 0-2 seconds: nothing
  2. 2-4 seconds: video plays and moves left
  3. 4-6 seconds: video continues to play and moves diagonally left and down
  4. at 6 seconds: video jumps to original top
  5. 6-8 seconds: video continues to play and moves left
  6. 8-12.8 seconds: the video continues to play but does not move
  7. at 12.8 seconds: the video ends and is removed
14 seq time container  
14.6 begin = offset in a Seq container
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. wait for 5s,
  2. then play the video for 5.6s
  3. then the video is frozen for 3s,
  4. then play the image for 3s
14.7 Seq container without attribute (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play the video for 5.6s then play the image for 3s
14.8 Seq container without attribute (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. play the video for 5.6s
  2. then play the image for 3s,
  3. then play the first video for 5.6s
15 excl time container  
15.10 Excl time container without attribute (case 1
(smil, source)
(xhtml+smil, source)
  1. Nothing is shown
15.11 Excl time container without attribute (case 2
(smil, source)
(xhtml+smil, source)
  1. at t=2s the first image is shown,
  2. at t="4s" the second image is shown for 8s.
15.12 begin=id.end in a excl (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video starts,
  2. at t="4s" the video is resumed (last frame displayed) and the smile image is shown,
  3. at t="10s" the video disappeared and the frown picture appears for 3s,
  4. at t=15s the smile image disappeared.
15.13 begin=id.end in a excl (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video starts but is immediately paused (first frame displayed) and the smile image is shown for 8s,
  2. then the video is resumed.
15.15 timeContainer
(xhtml+smil, source)
  1. 0-2 seconds: nothing
  2. 2-4 seconds: video plays but does not move
  3. 4-6 seconds: video continues to play and moves down
  4. at 6 seconds: video jumps to original top and over 200 pixels
  5. 6-8 seconds: video continues to play and moves left
  6. 8-12.8 seconds: video continues to play but does not move
  7. at 12.8 seconds: the video ends and is removed
17 runtime sync behavior  
17.1 syncBehavior_independent_on_media
(smil, source)
(xhtml+smil, source)
  1. show smile image from 0 seconds to 5 seconds
  2. then show frown image from 5 seconds to 10 seconds
  3. play audio from 0 seconds to 10 seconds
  4. seek the presentation and the audio should ignore the seek
  5. stop the presentation and the audio should stop
17.2 syncBehavior_independent_on_par
(smil, source)
(xhtml+smil, source)
  1. show smile image from 0 seconds to 5 seconds
  2. then show frown image from 5 seconds to 10 seconds
  3. play audio from 0 seconds to 10 seconds
  4. seek the presentation and the audio should ignore the seek
  5. stop the presentation and the audio should stop
18 endSync  
18.1 endsync_last_event_begin
(smil, source)
(xhtml+smil, source)
  1. show first picture for 8s
  2. if image click is within [0,8] then
  3. play audio for 6s
18.2 endsync_last_scheduled_begin
(smil, source)
(xhtml+smil, source)
  1. show first picture for 8s
  2. delay 2s
  3. play audio for 6s
18.3 endsync_last_sync_begin
(smil, source)
(xhtml+smil, source)
  1. show first picture for 8s
  2. delay 1s
  3. play audio for 6s
18.4 endsync = first on a par (1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The video and the image are shown for 4s.
18.5 endsync = first on a par (2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The video and the image are shown until either the image is clicked or t=4s is reached.
18.6 endsync = first on a par (3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the image is displayed,
  2. at t=3s the video is started,
  3. at t=8.6s the par ends.
18.7 endsync = first on a par (4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the image is displayed,
  2. if the image is clicked
  3. then the video is started, the par ends
  4. when the either the image or the first video ends.
18.8 endsync = first on a par (5)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the image is displayed,
  2. if the image is clicked before 10s
  3. then the video is started and the par ends
  4. when the first of the image and the video ends.
  5. If the image is not clicked before 10s
  6. then the par never ends and the image is shown indefinitely.
18.9 endsync = first on a par (6)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The video and the image are both shown from the beginning
  2. then at t=5.6 the video is frozen until t=10s
  3. then the par ends.
18.10 endsync = first on a par (7)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The video and the image are both shown from the beginning
  2. then at t=5.6 the video is restarted.
  3. When this second iteration ends, the par ends.
18.11 endsync = first on a par (8)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. Nothing is shown
18.12 endsync = first on a par (9)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. The video and the image are both shown from the beginning
  2. then at t=5.6 the par ends.
18.13 endsync="first" on Excl time container (1)
(smil, source)
(xhtml+smil, source)
  1. Only The first picture is shown
18.14 endsync="first" on Excl time container (2)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown during 2s
  2. then the second picture for 6s
18.15 endsync="first" on Excl time container (3)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown during 2s
  2. then the second picture fo only.
18.16 endsync="first" on Excl time container (4)
(smil, source)
(xhtml+smil, source)
  1. only the first picture is shown during 2s
18.17 endsync="first" on Excl time container (5)
(smil, source)
(xhtml+smil, source)
  1. only the first picture is shown during 4s
18.18 endsync="all" on Excl time container (1)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown
  2. then a blank of 3s,
  3. then the second picture is shown.
18.19 endsync="all" on Excl time container (2)
(smil, source)
(xhtml+smil, source)
  1. The excl never terminates if the user didn't click,
  2. otherwise the first picture ends with the user click
  3. (if it happens before 4s) and the second picture is shown during 6s.
18.20 endsync="all" on Excl time container (3)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown during 5s
18.21 endsync="all" on Excl time container (4)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown during 3s,
  2. then the second pictur is shown during 3s.
18.22 endsync="all" on Excl time container (5)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown during 3s,
  2. then the second pictur is shown during 4s,
  3. then the frown picture is shown during 6 s and
  4. finally the second pictur is shown during 2s.
18.23 endsync="all" on Excl time container (6)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown during 3s,
  2. then the second pictur is shown during 3s
18.24 endsync="all" on Excl time container (7)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is shown during 3s, then restarted
18.25 endsync="id-value" on Excl time container (1)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown for 5s
18.26 endsync="id-value" on Excl time container (2)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown for 2s
18.27 endsync="id-value" on Excl time container (3)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown for 2s
18.28 endsync="id-value" on Excl time container (4)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown for 2s,
  2. then the second one for 2s only
18.29 endsync="id-value" on Excl time container (5)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown for 4s
18.30 endsync="id-value" on Excl time container (6)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown for 6s only
18.31 endsync="last" on Excl time container (1)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown
  2. then a blank of 3s,
  3. then the second picture is shown.
18.32 endsync="last" on Excl time container (2)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown during 2s
  2. then the second picture for 6s,
  3. then the first picture for 3s.
18.33 endsync="last" on Excl time container (3)
(smil, source)
(xhtml+smil, source)
  1. The first picture is shown,
  2. if the user didn't click on it,
  3. then the document ends at t=4s,
  4. otherwise the first picture ends with the user click and
  5. the second picture is shown during 6s.
18.34 endsync="last" on Excl time container (4)
(smil, source)
(xhtml+smil, source)
  1. Nothing is shown
18.35 endsync="last" on Excl time container (5)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown during 2s
  2. then the second picture for 2s,
  3. then the first one for 6s,
  4. then the second one for 4s
18.36 endsync="last" on Excl time container (6)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown during 5s
18.37 endsync="last" on Excl time container (7)
(smil, source)
(xhtml+smil, source)
  1. the first picture is shown during 4s,
  2. then blank of 2s,
  3. then the first picture is shown for 4s once again.
19 Time container constraints on child dur  
19.1 begin after container ends
(smil, source)
(xhtml+smil, source)
  1. nothing shown
19.2 simple duration extends beyond time container
(smil, source)
(xhtml+smil, source)
  1. image shown for 3s
19.3 time container constraint on fill behavior
(smil, source)
(xhtml+smil, source)
  1. show two pictures for 3s
20 Hyperlinking and seeking  
20.3 hyperlink on an active object (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the the video and the sound start,
  2. when the user click on the hyperlink image, both the video and the sound are restarted.
20.4 hyperlink on an active object (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the the video and the sound start and the image is displayed,
  2. whenever the user clicks on the hyperlink image, both the video and the sound are restarted.
20.5 hyperlink on an active object (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the the video and the sound start,
  2. whenever the user clicks on the hyperlink image, both the video and sound are restarted.
20.6 hyperlink on an active object (case 4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the the video and the sound start,
  2. if the user clicks before 8s on the hyperlink image, then both the sound and the video are restarted,
  3. if he/she clicks after 8s then only the video is restarted.
20.7 hyperlink on an inactive object (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video starts,
  2. at t="3s" the audio starts,
  3. at t=7s the audio is stopped and the frown image appears for 5s.
  4. If the user clicks on the hyperlink image within this 5s
  5. then the sound is restarted from its beginning and the video is restarted near its middle point.
  6. After 4s the sound is stopped and the frown picture is shown again for 5s.
20.8 hyperlink on an inactive object (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s both the audio and the video start.
  2. If the user clicks on the hyperlink video
  3. then both the video and the audio are stopped and the frown picture is shown for 4s.
20.9 hyperlink on an inactive object (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. Without any user click
  2. at t=0s the video starts, at t=3s the audio starts, at t=6s the two pictures are shown frwon for 5s, smile for 3s (and not for 6s).
  3. the user click on the hyperlink video, then the two pictures are shown frown for 5s, smile for 3s
20.10 hyperlink on an inactive object (case 4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. without any user click
  2. at t=0s the video starts, when it ends the frown image is shown for 5s.
  3. the user didn't click on the video, but click on the hyperlink image
  4. the video starts, when it ends the frown image is shown for 5s. when the user clicks on the hyperlink image then the sound and the video starts from their beginning.
21 higher attribute  
21.1 higher = pause value
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the second video is played for 3s and is paused (still present)
  2. then the first one is shown until its end and then the second one is resumed.
21.2 higher = stop value
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the second video is played for 3s
  2. then the first one is shown until its end.
22 lower attribute  
22.1 lower=defer value
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the first video is played then the second one is played
22.2 lower=never value
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. only the first video is played.
23 min attribute  
23.1 min attribute (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 5.6s
  2. then frozen until t=8s,
  3. then the smile picture is shown for 4s.
23.2 min attribute (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 5
  2. then a blank until t=8s,
  3. then the smile picture is shown for 4s
23.3 min attribute (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 2s
  2. then frozen for 3s,
  3. then the smile picture is shown for 4s.
23.4 min attribute (case 4)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played twice,
  2. then frozen until t=14s,
  3. then the smile picture is shown for 4s
23.5 min attribute (case 5)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video repeats until it is clicked and then the smile image is shown for 4 seconds.
  2. if the click occurs before 14s,
  3. then the video continues to repeat until 14s,
  4. otherwise the video is stopped immediately.
23.6 min attribute (case 6)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. At 0s the smile image is shown and the video begins.
  2. If a click occurs before 5.6s the video ends and is removed from the screen, and the image is shown until 12s,and then the presentation ends.
  3. If a click occurs after 5.6s and before 12s the last frame of the video is shown until the click, at the click the video is removed from the screen, and the image is shown until 12s, and then the presentation ends.
  4. If there is no click for 12s last frame of the video is shown until 12s, and the image is shown until 12s, and then the presentation ends.
23.7 min attribute (case 7)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 3s
  2. then a blank until t=5.6s,
  3. then the smile picture is shown for 4s.
23.8 min attribute (case 8)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played until t=5.6s,
  2. then the smile picture is shown for 4s.
23.9 min attribute (case 9)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the smile image is shown for 12s and the video repeats until t=12s.
23.10 min attribute and negative begin delay (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 2.6s
  2. then frozen until t=5s
23.11 min attribute and negative begin delay (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 2.4s,
  2. then restarted for 5s then a blank of 3s
23.12 min attribute and restart
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played
  2. then restarted at t=4s and played until t=9.6s then frozen until t=12s
23.13 min and max attributes(case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 3s,
  2. then nothing appears.
23.14 min and max attributes(case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 3s,
  2. then the. picture is shown for 9s
24 max attribute  
24.1 max attribute (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video repeats until 14s and then the smile image is shown for 4s.
24.2 max attribute (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 3s,
  2. then the smile image is shown for 9s.
24.3 max attribute (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 3s,
  2. then nothing appears.
25 priorityClassattribute  
25.1 priority ordering in pause queue (case 1)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 3s
  2. then the sound is played for 3 second too,
  3. then (at t=6s) the smile picture is shown for 4s,
  4. then the sound is resumed and is played until its end,
  5. then the nist video is resumed.
25.2 priority ordering in pause queue (case 2)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 3s
  2. then the sound is played for 3 second too,
  3. then (at t=6s) the smile picture is shown for 4s,
  4. then the sound is resumed and is played until its end,
  5. then the nist video is resumed.
25.3 priority ordering in pause queue (case 3)
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 3s
  2. then the sound is played until its end,
  3. then (at t=13s) the smile picture is shown for 4s,
  4. then the nist video is resumed.
25.4 Peers = pause value with pauseDisplay="disable"
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 3s
  2. then it is paused (its rendering changes) and the image is shown for 4s, then the video is resumed until its end.
  3. If the reader clicks on the video, the image2 is shown if and only if the clicks is outside its disabled period.
25.5 Peers = pause value with pauseDisplay="hide"
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 3s
  2. then it disappears and the image is shown for 4s,
  3. then the video is resumed until its end.
25.6 Peers = defer value
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. the video is played for 5.6s
  2. then the image is shown for 4s
25.7 Peers = never valu
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. only the video is played for 5.6s
25.8 removing ended element in pause queue
(smil, source)
(RM smil, source)
(xhtml+smil, source)
  1. at t=0s the video starts,
  2. at t="4s" the video is resumed (last frame displayed) and the smile image is shown,
  3. at t="10s" the video disappeared,
  4. at t=12s the smile image disappeared.
26 wallclock  
26.1 wallclock_date_localTime
(smil, source)
(xhtml+smil, source)
  1. The month displayed should be the current month in local time.
26.2 wallclock_date_time_localTime
(smil, source)
(xhtml+smil, source)
  1. This test should display the current season of the year in Pacific Time
26.3 wallclock_time_localTime
(smil, source)
(xhtml+smil, source)
  1. The hour displayed should be the current hour in local time
26.4 wallclock_time_timeZone
(smil, source)
(xhtml+smil, source)
  1. The hour displayed should be the current hour in Eastern Time
26.5 wallclock_time_universalTime.
(smil, source)
(xhtml+smil, source)
  1. The hour displayed should be the current hour in Universal Time
27 External Marker  
27.1 begin marker
(smil, source)
(RM smil, source)
  1. video1 shown,
  2. image shown when video1 sets marker 'x' from the external file nasa.txt
27.2 end marker
(smil, source)
(RM smil, source)
  1. video1 shown and image shown,
  2. image hidden when video1 sets marker "x" from the external file nasa.txt
28 Interval timing semantics  
28.1 Negative begin times
(smil, source)
(xhtml+smil, source)
  1. at t=5 video2 appears.
  2. at t=10 video1 appears 5 seconds into the video.
  3. at t=15 video1 and video2 disappear.
28.2 Interval logic and negative begin times
(smil, source)
(xhtml+smil, source)
  1. videos never appear, the document duration is 10s.
28.3 Interval logic and events
(smil, source)
(xhtml+smil, source)
  1. the smil image is shown from 0 to 20s
  2. the video2 begins at 5s and plays until 15s.
  3. the video1 is shown at 10s, starting 5s into the video.
  4. a click before 10s will do nothing. After 10s, video1 will play until a click occurs on the smil image.
  5. if no click occurs between 10s and 20s, then there is no way to generate the smile.activateEvent and the video will play indefinitely.
28.4 Interval logic and events
(smil, source)
(xhtml+smil, source)
  1. at t=0 smile appears.
  2. at user click on smile video1 starts 5 seconds into the video.
  3. at 5 seconds after user click on smile video1 disappears.
  4. at t=20 smile disappears. video2 never appears.
28.5 Interval logic and multiple begins
(smil, source)
(xhtml+smil, source)
  1. at t=5 video2 (1st interval) starts.
  2. at t=10 video1 (1st interval) starts 5 seconds into the video.
  3. at t=11 video1 (1st interval) disappears.
  4. at t=11 video2 (1st interval) disappears.
  5. at t=11 video1 (2nd interval) restarts 5 seconds into the video.
  6. at t=11 video2 (2nd interval) restarts 5 seconds into the video.
  7. at t=16 video1 and video2 (2nd intervals) disappear.
28.6 Interval logic and multiple begins with negative offset
( smil, source)
( xhtml+smil, source)
  1. at t=9 video2 starts 4 seconds into the video.
  2. at t=10 smile appears.
  3. at t=10 video1 starts.
  4. at t=15 video2 disappears.
  5. at t=19 video1 disappears.
  6. at t=20 smile disappears.
28.7 Interval logic and pruning
(smil, source)
(xhtml+smil, source)
  1. at 5s video1 and video2 appear.
  2. at 10s frown begins, 5s into its duration. the smile image ends as the par2 begins and so is not shown.
  3. at 15s frown, video1 and video2 all end and disappear.
28.8 Interval logic events and pruning
(smil, source)
(xhtml+smil, source)
  1. at t=5 video1 starts from the beginning.
  2. at t=7 video1 disappears.
  3. at t=10 smile appears.
  4. at t=10 video2 starts from the beginning.
  5. at t=11 smile disappears.
  6. at t=12 video2 disappears.
  7. at t=13 smile appears.
  8. at t=13 video1 starts from the beginning again.
  9. at t=13 video2 starts from the beginning again.
  10. at t=15 video1 disappears.
  11. at t=15 video2 disappears.
  12. at t=19 smile disappears.
  13. Note: This is a modification of example in SMIL 2.1 spec section: 10.5.2 Events and event model. Modified the duration of the smile image.
28.9 Interval logic events and pruning
(smil, source)
(xhtml+smil, source)
  1. If the smile image is clicked between 5 and 40s:
  2. at 0s video1, video2, video3, and video4 appear.
  3. at 3s, video1 ends and disappears.
  4. if no click before 10s, video2 will end and disappear.
  5. at 5s smile image appears.
  6. when the smile image is clicked we resolve the image end time, and the following is seen:
  7. when the smile image is clicked, it disappears.
  8. video2 restarts 5s into the clip and plays for 5s,
  9. video3 restarts 5s into the clip and plays until 40s.
  10. video4 restarts 5s into the clip and plays until 40s.
  11. Otherwise:
  12. at t=0 video1, video2, video3 and video4 start.
  13. at t=3 video1 disappears.
  14. at t=5 smile appears.
  15. at t=10 video2 disappears.
  16. at t=40 smile, video3 and video4 disappear.