Show navigation ≫
≪ Hide navigation

Use case

Renders an audio file.

Structure

Optional parameters are indicated as "(Optional)".

Parameter Meaning Notes
type (string) The type of body element.
  • Must be audio
data (object) The data of the element.
  • This parameter requires a Connected Web Audio Object. See the Object > Audio documentation to understand more.
  • This parameter requires a Connected Web Image Object. See the Object > Image documentation to understand more.
Continue to the Link Body Element definition

Example

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

}
Show navigation ≫
≪ Hide navigation