Video
The <video>
tag creates a layer with content loaded from either a local video resource or a remote video loaded via HTTP(S). Local resources are loaded with the src="filename" attribute. Remote videos are loaded with the url="URL" attribute. Both attributes can contain a variable.
SYNTAX
<video
src="local video resource | variable"
url="HTTP URL | variable"
duration="time | variable"
offset="time"
skip="time"
blendmode="blendmode"
anchor="point"
position="point"
scale="point"
rotation="float"
opacity="float"
origin="point"
condition="variable"
>
. . .
</video>
CONTAINED IN
CAN CONTAIN
ATTRIBUTES
- src
- A local image resource's filename or a variable pointing to one.
- url
- A remote image resource's URL or a variable pointing to one.
- duration
- The duration this layer is rendered. The duration can be given in frame or time format. Default is the natural duration of the footage item. Can be a variable.
- offset
- The time from the beginning of the scene when this layer shall begin to render. Default
is "0".
- blendmode
- The pixel mix mode. Can be either "normal", "multiply", "screen", "overlay", "softlight", "hardlight". Default is "normal".
- position
- The point for the origin of this layer. Default is "0, 0".
- scale
- The scale factor for this layer. Default is "1, 1".
- anchor
- The offset from the center of this layer around rotation, position and scale is applied. Default is "0, 0".
- rotation
- The angle this layer.shall be rotated. Default is "0".
- opacity
- The opacity this layer will be rendered with. Default is "1".
- condition
- A variable definition which determines whether the layer is rendered or not. Default is to always render the layer.
- overlap
- The amount of time the layer will be rendered short (values < 0) or is skipped (values > 0). Default is "0".
- skip
- The time at which the footage item of this layer shall begin (in time of the video). Default is "0".