Billboard Transition
Transition definition is placed inside <layout> tag in SMIL file <head>.
- The
xml:idortransitionNameis the ID of the transition used later in the playlist typedefines the behavior of the transition. Onlybillboardis currently supportedsubtypevisualization of the transition. Onlybillboardis currently supporteddurduration of the transition ( How long it will take to transition from one image to another). Specified in seconds, supports decimal values ( 0.6s )columnCountnumber of columns in the billboard which will be animateddirectiondirection of the animation. Currently supported values areleftandright
<layout>
<transition xml:id="billboard" type="billboard" subtype="billboard" dur="1s" columnCount="50"
direction="left"/>
<root-layout width="960" height="360"/>
<region regionName="cm1kk7rmk0005bfefhlh9hqb6" left="0" top="0" width="960" height="360" z-index="1"
/>
</layout>
<!-- later when you want to use the transition on the image element -->
<img src="https://demo.signageos.io/smil/samples/assets/landscape1.jpg" region="main"
dur="6s" transIn="billboard"/>
Default transition
SMIL player supports default transition for the whole playlist. It is defined in the <head> tag of the SMIL file.
The transition will be applied to all images in the playlist that do not have a different transition defined directly.
<meta defaultTransition="transitionID"/>
<layout>
<transition xml:id="transitionID" type="billboard" subtype="billboard" dur="1s" columnCount="50"
direction="left"/>
<root-layout width="960" height="360"/>
<region regionName="cm1kk7rmk0005bfefhlh9hqb6" left="0" top="0" width="960" height="360" z-index="1"
/>
</layout>
Value in defaultTransition attribute is the ID of the transition defined in the layout tag. It has to match.