VideoLayer provides video content from on-demand and livestream feeds from an ArcGIS Video Server.

Referenced by: operationalLayers

Properties

PropertyDetails
autoplayIndicates if the video layer is configured to start playback when ready. Default is false.
blendModeBlend modes are used to create various effects by blending colors of top and background layers. normal blend mode is the default.
Valid values: average, color, color-burn, color-dodge, darken, destination-atop, destination-in, destination-out, destination-over, difference, exclusion, hard-light, hue, invert, lighten, lighter, luminosity, minus, multiply, normal, overlay, plus, reflect, saturation, screen, soft-light, source-atop, source-in, source-out, vivid-light, xor
drawingInfoContains the drawing information.
effectEffect provides various filter functions to achieve different visual effects similar to how image filters (photo apps) work.
frameEffectProvides filter functions that can be performed on the video frame to achieve different visual effects.
frameOpacityThe opacity of the video frame draped on the map. Value can be a number between 0 and 1 where 0 is 100% transparent, 0.5 is 50% transparent and 1 is fully opaque. Default is 1.
idA unique identifying string for the layer.
itemIdOptional string containing the item ID of the service if it’s registered on ArcGIS Online or your organization’s portal.
layerTypeString indicating the layer type.
Valid value of this property ArcGISVideoLayer
loopIndicates if the the video should automatically restart from the beginning after reaching the end. Default is false.
maxScaleA number representing the maximum scale at which the layer will be visible. The number is the scale’s denominator.
minScaleA number representing the minimum scale at which the layer will be visible. The number is the scale’s denominator.
mutedIndicates if the video layer is muted. Default is true.
opacityThe degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency. Default is 1.
playbackRateIndicates the speed of video playback, where 1 is normal speed. Values less than 1 slow the playback down while values greater than 1 speed the playback up. Default is 1.
startThe start property defines the playback start time in seconds since the beginning of the video. Default is 0.
telemetryDisplayDefines what telemetry graphics to display on the map.
titleA user-friendly string title for the layer that can be used in a table of contents.
urlThe URL to a layer in a video service.
visibilityBoolean property determining whether the layer is initially visible in the web map. Default is true.
visibilityTimeExtentRepresents time extent that will control when a layer should be visible based on webmap’s current time. Visibility time extent only affects the layer visibility and will not filter the data.

Example

{
"id": "VideoLayer_6970",
"layerType": "ArcGISVideoLayer",
"autoplay": false,
"blendMode": "normal",
"drawingInfo": {
"sensorSymbol": {
"color": [
170,
170,
170,
255
],
"size": 6,
"angle": 0,
"xoffset": 0,
"yoffset": 0,
"type": "esriSMS",
"style": "esriSMSCircle",
"outline": {
"color": [
153,
153,
153,
255
],
"width": 0.375,
"type": "esriSLS",
"style": "esriSLSSolid"
}
}
},
"frameOpacity": 1,
"itemId": "ef2644781da844648e8cc30ab52a02bc",
"loop": false,
"muted": true,
"opacity": 1,
"playbackRate": 1,
"start": 0,
"telemetryDisplay": {
"frame": true,
"frameCenter": true,
"frameOutline": true,
"lineOfSight": true,
"sensorLocation": true,
"sensorPath": true,
"sensorTrail": true
},
"title": "Cheyenne Video Layer",
"url": "https://dev000276.esri.com/video/rest/services/cheyenne1/VideoServer/0",
"visibility": true
}