Show navigation ≫
≪ Hide navigation

Use case

Renders a video.

Structure

Optional parameters are indicated as "(Optional)".

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

Example

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

}
Show navigation ≫
≪ Hide navigation