- Get started
- Structure
- Body Elements
- Objects
Renders an audio file.
Optional parameters are indicated as "(Optional)".
Parameter | Meaning | Notes |
---|---|---|
type (string) | The type of body element. |
|
data (object)
|
The data of the element. |
|
{
"type": "audio",
"data": {
"audio": {
"url": "https://fbwcdn.com/audio/main/connectedweb/showcase/audio1.mp3",
"bitrate": 160,
"type": "audio/mp3",
"size": 8571093,
"title": "Example Soundtrack",
"author": {
"name": "Enrico Tosi"
},
"bitrates": {
"96": {
"url": "https://fbwcdn.com/audio/main/connectedweb/showcase/audio1_96.mp3",
"size": 4878837
}
}
},
"thumbnail": {
"url": "https://fbwcdn.com/image/main/connectedweb/showcase/audio1_cover.jpg",
"width": 1000,
"height": 1000
}
}
}