- Get started
- Structure
- Body Elements
- Objects
Defines a different version, which usally references a different resolution or quality, of a media content, such as a photo, video or audio file.
It's used to deliver the same content optimized for different devices, like smartphones, tablets and computers, according to the client's display resolution.
Optional parameters are indicated as "(Optional)".
Parameter | Meaning | Notes |
---|---|---|
url (string) | The url of the media. |
|
width (integer) | The width of the media. |
|
height (integer) | The height of the media. |
|
type (string) (optional) | The mime type of the media. |
|
size (integer) (optional) | The size of the media, in bytes. |
|
{
"1280": {
"url": "https://fbwcdn.com/video/main/connectedweb/showcase/video1_720.mp4",
"width": 1280,
"height": 720,
},
"480": {
"url": "https://fbwcdn.com/video/main/connectedweb/showcase/video1_480.mp4",
"width": 480,
"height": 270,
}
}