Skip to main content

<VideoVector>

Category: Control tag

VideoVector tag brings vector annotation capabilities to videos. It works in combination with the <Video/> and the <Labels/> tags. Supports closable paths and skeleton mode with keyframe-based interpolation across video frames.

Use with the following data types: video

Attributes​

AttributeTypeRequiredDefaultDescription
namestringyes—Name of the element
toNamestringyes—Name of the element to control (video)
opacitynumberno0.2Opacity of vector
fillColorstringno#f48a42Vector fill color in hexadecimal or HTML color name
strokeColorstringno#f48a42Stroke color in hexadecimal
strokeWidthnumberno2Width of stroke
pointSizesmall,medium,largenosmallSize of vector handle points
pointStylerectangle,circlenocircleStyle of points
closabletrue,falsenofalseAllow closed shapes
skeletontrue,falsenofalseEnables skeleton mode to allow branch paths
minPointsnumber,nonenononeMinimum allowed number of points
maxPointsnumber,nonenononeMaximum allowed number of points
snappixel,nonenononeSnap vector to image pixels
pointSizeEnablednumberno5Size of a point in pixels when shape is selected
pointSizeDisablednumberno3Size of a point in pixels when shape is not selected