Video Layer
In addition to the mandatory basic attributes for size and position, video layers can determine if their content should play in loop with the optional attribute loop. Possible values are 1 (is looping) or 0 (not looping) and it defaults to 0.
As distorted video rendering could be a performance issue, video files always keep their aspect ratio and are best fitted inside their assigned box.
<video xPoint="0" yPoint="0" width="1920" height="1080" loop="1">/Users/stadiumbrain/SB-Data/loopingClip.mov</video>
A looping, fullscreen video layer
video Attributes
Attribute | Value | Default |
---|---|---|
xPoint | pixel value | |
yPoint | pixel value | |
width | pixel value | |
height | pixel value | |
loop | 0 or 1 | 0 |
fadeIn | seconds | 0 |
inTime | seconds | 0 |
path | rel, abs | abs |