summaryrefslogtreecommitdiffstats
path: root/tests/nested_smil.smil
blob: 01f041746b3a9c056f90d0fad35fc6823929b36c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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>