- Get started
- Structure
- Body Elements
- Objects
Renders a video.
Optional parameters are indicated as "(Optional)".
Parameter | Meaning | Notes |
---|---|---|
type (string) | The type of body element. |
|
data (object)
|
The data of the element. |
|
{
"type": "video",
"data": {
"video": {
"url": "https://fbwcdn.com/video/main/connectedweb/showcase/video1.mp4",
"width": 1920,
"height": 1080,
"type": "video/mp4",
"size": 1539550,
"title": "Connected Web Logo Intro",
"resolutions": {
"1280": {
"url": "https://fbwcdn.com/video/main/connectedweb/showcase/video1_720.mp4",
"size": 1265643,
"width": 1280,
"height": 720
}
}
},
"thumbnail": {
"url": "https://fbwcdn.com/image/main/connectedweb/share_cover_1080.jpg",
"width": 1920,
"height": 1080
}
}
}