[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/audio/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/audio",
   5      "title": "Audio",
   6      "category": "media",
   7      "description": "Embed a simple audio player.",
   8      "keywords": [ "music", "sound", "podcast", "recording" ],
   9      "textdomain": "default",
  10      "attributes": {
  11          "src": {
  12              "type": "string",
  13              "source": "attribute",
  14              "selector": "audio",
  15              "attribute": "src",
  16              "__experimentalRole": "content"
  17          },
  18          "caption": {
  19              "type": "rich-text",
  20              "source": "rich-text",
  21              "selector": "figcaption",
  22              "__experimentalRole": "content"
  23          },
  24          "id": {
  25              "type": "number",
  26              "__experimentalRole": "content"
  27          },
  28          "autoplay": {
  29              "type": "boolean",
  30              "source": "attribute",
  31              "selector": "audio",
  32              "attribute": "autoplay"
  33          },
  34          "loop": {
  35              "type": "boolean",
  36              "source": "attribute",
  37              "selector": "audio",
  38              "attribute": "loop"
  39          },
  40          "preload": {
  41              "type": "string",
  42              "source": "attribute",
  43              "selector": "audio",
  44              "attribute": "preload"
  45          }
  46      },
  47      "supports": {
  48          "anchor": true,
  49          "align": true,
  50          "spacing": {
  51              "margin": true,
  52              "padding": true,
  53              "__experimentalDefaultControls": {
  54                  "margin": false,
  55                  "padding": false
  56              }
  57          },
  58          "interactivity": {
  59              "clientNavigation": true
  60          }
  61      },
  62      "editorStyle": "wp-block-audio-editor",
  63      "style": "wp-block-audio"
  64  }


Generated : Sun Apr 28 08:20:02 2024 Cross-referenced by PHPXref