Skip to main content
Documentation

Model Video

Place timed video on a rectangular surface in a Five SDK model with Vreo.

Overview

Model Video ( ModelVideo ) lets you play a video within the rectangular area of an object in a Realsee 3D space model — for example a TV, a monitor, or a wall-mounted painting.

Field Reference

  • videoSrc: string. The video URL.
  • videoPosterSrc: string. The video poster (cover) image.
  • vertexs: The 3D coordinates of the four vertices of the rectangular area that the video maps onto in space.

Info

For the detailed parameter types, see the Vreo API documentation.

{
  "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
      }
    ]
  }
}