block_id should be unique for each message and each iteration of a message. Maximum length for this field is 255 characters. Once the video is embedded in the page, you. If you insert a URL from a supported block type, such as YouTube, the Video Block will automatically transform into a YouTube Block. Media Library lets you select a file that’s already uploaded to your site’s media library. You can use this block_id when you receive an interaction payload to identify the source of the action. The Upload will allow you to upload a new video file from your computer. If not specified, a block_id will be generated. Block video for the currently displayed website Allow All Auto-Play: Lets videos on this website play automatically. There is a maximum of 25 elements in each action block.Ī string acting as a unique identifier for a block. For an actions block, type is always actions.Īn array of interactive element objects - buttons, select menus, overflow menus, or date pickers. The lists of fields and values below describe the JSON that apps can use to generate each block: Block typeĪvailable in surfaces: Modals Messages Home tabsĪ block that is used to hold interactive elements. You can include up to 50 blocks in each message, and 100 blocks in modals or home tabs. Block ImageVideo is an addon that lets you easily block or hide desired items (image, video, etc.). #Video blocks how to#Read our guide to building block layouts to learn where and how to use each of these components. Easily block all images & videos within a website. Blocks are a series of components that can be combined to create visually rich and compellingly interactive messages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |