Skip to main content

Video Running

Function Description​

The video does not stand (ModelVideo ) can play a video in the rectangular area of the item if there are such items as TV, monitors, wall drawings, etc. in the 3D space model.

Effect Display​

tip

This example contains voices, please view it in the right context.You can enter the effect demo by clicking thevideo to run thebutton.After pausing you can re-select the effect demo type.

Field description​

  • videoSrc: string type, video address.
  • videoPosterSrc: string type, video cover.
  • vertexs: three-dimensional coordinates of four vertexs of the rectangular area that the video corresponds to in space.
info

Specific content parameter types can be seen Vreo API document.

视频投放类型数据样例
{
"uuid": "f2904b1e-8590-4c1f-e676-e1f33133a9e3",
"type": "ModelVideo",
"start": 22334.342321,
"end": 28701,
"parsed": false,
"data": {
"videoSrc": "//***/xxx.mp4",
"videoPosterSrc": "//***/xxx.png",
"vertexs": [
{
"x": -4.000341101858312,
"y": 1.4611518808707942,
"z": -3.6759935617232737
},
{
"x": -4.000492478074704,
"y": 0.736729814259069,
"z": -3.677603254910159
},
{
"x": -5.276990668782288,
"y": 0.7373509227063392,
"z": -3.6805491317687413
},
{
"x": -5.269476230459038,
"y": 1.458844022600584,
"z": -3.6841883988044657
}
]
}
}