video_source
StablePlaces a video at four coordinates for a raster layer to draw.
No example yet
No openly licensed video could be found that is hosted to stay available and whose picture lines up with four points on a map.
See its attributesGenerated from the component's definition in the library, so it always matches the version this demo runs.
| Attribute | Type | Default | Description |
|---|---|---|---|
| id required | string | — | Unique identifier for the source |
| map_id required | string | — | ID of the map to attach to |
| urls required | list | — | Array of video URLs (provide multiple formats for browser compatibility) |
| coordinates required | list | — | Array of 4 coordinates [lng, lat] defining the corners in clockwise order: [top-left, top-right, bottom-right, bottom-left] |
| events | any |
[]
|
a list of event names, or :all
|