Skip to main content

Video Effects

Function Description

Video Effects (VideoEffect) are animated based on video implementation, each frame of which is fully aligned with VR panorama. Some deformed animations (such as icons actions) can be achieved by using video effects.

Effect Display

tip

This example contains voices, please view it in the right context.By clicking thevideo effectbutton, you can choose the type of effect you want to see, thenthen click playagain.This section is only shown by mirrors, is not fully aligned with background audio, canto continue by pausing audio

Field description

  • videoSrc: string type, video address.
  • panoIndex: type number@@0, animation point position.
  • fov: number@@0 type, camera is near
  • direction: Direction: {x, y, z}format.
  • vector: optional fields, camera pitch up angle&rotating angle.
info

Specific content parameter types can be seen Vreo API document.

视频特效类型数据样例
{
"uuid": "ff0ec7f3-06da-43ca-d0f1-f47c8d5a5745",
"type": "VideoEffect",
"start": 62000,
"end": 67000,
"parsed": false,
" data": {
"videoSrc": "//***/xxx.mp4",
"panoIndex": 7,
"direction": {
"x": 0,
"y": 0,
" z": -1
},
"fov": 80
}
}