BNA8/.resources/baef5ad9b4a7334722b803377a81aaf346abea045ee9ae1bd292c10735f9d9f7

92 lines
1.9 KiB
Plaintext

{
"custom": {},
"params": {
"ipaddress": "value"
},
"propConfig": {
"params.ipaddress": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 360,
"width": 640
}
},
"root": {
"children": [
{
"meta": {
"name": "VideoPlayer"
},
"position": {
"basis": "336px"
},
"propConfig": {
"props.source": {
"binding": {
"config": {
"expression": "\"http://\" + {view.params.ipaddress} + \"/cgi-bin/mjpeg?resolution\u003d640x360\""
},
"type": "expr"
}
}
},
"props": {
"liveFeed": true
},
"type": "ia.display.video-player"
},
{
"children": [
{
"events": {
"dom": {
"onClick": {
"config": {
"newTab": true,
"url": "http://{view.params.ipaddress}/"
},
"scope": "C",
"type": "nav"
}
}
},
"meta": {
"name": "Label"
},
"position": {
"basis": "148px"
},
"props": {
"text": "OPEN IN NEW TAB",
"textStyle": {
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "NaNpx"
},
"props": {
"justify": "center"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
}
}