SMIL Templates

From open-smil
Revision as of 17:56, 25 August 2016 by Opensmil (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Multiple regions with widgets

4K Multiple Regions with Widgets.jpg

Sample codes:

<?xml version="1.0" encoding="utf-8"?>
<smil xmlns:xsd="" xmlns:xsi="">
			<root-layout id="display:0" width="1920" height="1080" />
			<region id="REGA" width="100%" height="100%" right="0%" top="0%" z-index="1" mediaAlign="center" />
			<region id="REGB" width="100%" height="4.82%" left="0%" top="95.18%" z-index="2" mediaAlign="center" />
			<region id="REGC" width="16.67%" height="30.51%" right="0%" top="45%" z-index="2" mediaAlign="center" />
			<region id="REGD" width="16.67%" height="30%" right="0%" top="15%" z-index="2" mediaAlign="center" />
			<region id="REGE" width="16.67%" height="15%" right="0%" top="0%" z-index="2" mediaAlign="center" />
			<region id="REGF" width="16.67%" height="19.67%" right="0%" top="75.51%" z-index="2" mediaAlign="center" />
			<region id="REGG" width="300px" height="300px" left="50px" top="-20px" z-index="2" mediaAlign="topLeft" />
			<seq id="IDA" repeatCount="indefinite">
				<video src="media/video1.mp4" region="AABA" fit="meet" />
				<video src="media/video2.mp4" region="AABA" fit="meet" />
				<video src="media/video3.mp4" region="AABA" fit="meet" />
				<video src="media/video4.mp4" region="AABA" fit="meet" />
				<video src="media/video5.mp4" region="AABA" fit="meet" />
			<seq id="IDB" repeatCount="indefinite">
				<ref dur="3600" src="media/rss-ticker.wgt" region="AABB">
					<param name="wallColor" value="#111111" />
					<param name="fontColor" value="#FFFFFF" />
					<param name="num" value="10" />
					<param name="rss" value="" />
					<param name="swapTime" value="3" />
			<seq id="IDC" repeatCount="indefinite">
				<ref dur="14400" src="media/calendar2.wgt" region="AABC">
					<param name="wallColor" value="#111111" />
			<seq id="IDD" repeatCount="indefinite">
				<ref dur="3600" src="media/ana-clock.wgt" region="AABD">
					<param name="wallColor" value="#000000" />
					<param name="secHand" value="false" />
			<seq id="IDE" repeatCount="indefinite">
				<ref dur="3600" src="media/wea.wgt" region="AABF"/>
			<seq id="IDF" repeatCount="indefinite">
				<ref dur="indefinite" src="media/dit-clock.wgt" region="AABE">
					<param name="wallColor" value="#111111" />
					<param name="fontSize" value="0.7" />
					<param name="tick" value="false" />
			<seq id="IDG" repeatCount="indefinite">
				<img dur="120s" src="media/logo.png" region="AABG" fit="meet" />