Audio Embed a simple audio player. Name: core/audio Category: media API Version: 3 Block Type: Static (saved in post content) Keywords: music, sound, podcast, recording Attributes Defined via the attributes property in block.json. Attribute Type Default Description blob string — Role: local src string — Source: attribute. Selector: audio. HTML attr: src. Role: content caption rich-text — Source: rich-text. Selector: figcaption. Role: content id number — Role: content autoplay boolean — Source: attribute. Selector: audio. HTML attr: autoplay loop boolean — Source: attribute. Selector: audio. HTML attr: loop preload string — Source: attribute. Selector: audio. HTML attr: preload Supports Defined via the supports property in block.json. anchor: true align: true color: background: false link: true text: false spacing: margin: true padding: true interactivity: clientNavigation: true Block Markup This is a static block. The markup is saved directly in the post content.
Source block.json (reference) Source directory — browse the edit and save source files, index.php, and more.