summaryrefslogtreecommitdiffstats
path: root/tests/nested_smil.smil
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nested_smil.smil')
-rw-r--r--tests/nested_smil.smil25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/nested_smil.smil b/tests/nested_smil.smil
new file mode 100644
index 0000000..01f0417
--- /dev/null
+++ b/tests/nested_smil.smil
@@ -0,0 +1,25 @@
+<smil>
+ <head>
+ <layout>
+ <root-layout width="320" height="260"/>
+ <region id="nested_smil" left="0" top="0" right="0" height="240"/>
+ <region id="nested_but1" left="0" top="240" width="160" height="20" background-color="LightGray"/>
+ <region id="nested_but2" left="160" top="240" width="160" height="20" background-color="Orange"/>
+ </layout>
+ </head>
+ <body>
+ <par>
+ <excl>
+ <text src="data:,Start" id="text1" region="nested_but1" dur="indefinite" fill="freeze">
+ </text>
+ <video src="excl_timings.smil" id="video1" region="nested_smil" begin="nested_but1.activateEvent"/>
+ </excl>
+ <text src="data:,Change%20Source" id="text2" region="nested_but2" dur="indefinite" fill="freeze">
+ <param name="backgroundColor" value="orange"/>
+ <param name="fontColor" value="black"/>
+ </text>
+ <set target="video1" attribute="src" to="img_scale.smil" begin="nested_but2.activateEvent" dur="15"/>
+ <set target="text2" attribute="fontColor" to="gray" begin="nested_but2.activateEvent" dur="15"/>
+ </par>
+ </body>
+</smil>