You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kmplayer/tests/nested_smil.smil

26 lines
1.1 KiB

<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>