Optional widthLayer canvas width in pixels. Defaults to DMD width.
Optional heightLayer canvas height in pixels. Defaults to DMD height.
Optional positionLayer position within the DMD frame.
Whether the layer is visible. Default: true.
Layer opacity between 0 (transparent) and 1 (opaque). Default: 1.
Renderers to register (and optionally activate) on this layer.
Each entry is either a RendererInstanceEntry (pre-created instance)
or a RendererClassEntry (class instantiated by the layer with the
correct dimensions). Set active: false to register without activating.
Default: [].
Optional backgroundBackground fill color drawn behind the layer content. Transparent if omitted.
Optional backgroundBackground fill opacity 0–1. Default: 1.
Optional borderBorder stroke color drawn around the layer edge. No border if omitted.
Optional borderBorder stroke width in pixels. Default: 0.
Whether the video loops. Default: false.
Whether the video starts playing immediately. Default: false.
Pause playback when the layer is hidden. Default: true.
Stop playback when the layer is hidden (overrides pauseOnHide). Default: false.
Optional srcVideo source URL.
Optional videoVideo element width in pixels (defaults to layer width).
Optional videoVideo element height in pixels (defaults to layer height).
Options for VideoLayer. Required properties are always initialised with defaults by the VideoLayer constructor.