[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/playlist",
   5      "title": "Playlist",
   6      "category": "media",
   7      "description": "Embed a simple playlist.",
   8      "keywords": [ "music", "sound" ],
   9      "textdomain": "default",
  10      "allowedBlocks": [ "core/playlist-track" ],
  11      "attributes": {
  12          "type": {
  13              "type": "string",
  14              "default": "audio"
  15          },
  16          "order": {
  17              "type": "string",
  18              "default": "asc"
  19          },
  20          "showTracklist": {
  21              "type": "boolean",
  22              "default": true
  23          },
  24          "showImages": {
  25              "type": "boolean",
  26              "default": true
  27          },
  28          "showPlayButtonArtwork": {
  29              "type": "boolean",
  30              "default": false
  31          },
  32          "showArtists": {
  33              "type": "boolean",
  34              "default": true
  35          },
  36          "showNumbers": {
  37              "type": "boolean",
  38              "default": true
  39          },
  40          "showTrackLength": {
  41              "type": "boolean",
  42              "default": true
  43          },
  44          "waveformStyle": {
  45              "type": "string",
  46              "enum": [ "bars", "mirror", "line", "blocks", "dots", "seekbar" ],
  47              "default": "bars"
  48          },
  49          "waveformColor": {
  50              "type": "string"
  51          },
  52          "waveformGradient": {
  53              "type": "string"
  54          },
  55          "waveformBackgroundColor": {
  56              "type": "string"
  57          },
  58          "waveformBackgroundGradient": {
  59              "type": "string"
  60          },
  61          "caption": {
  62              "type": "string"
  63          }
  64      },
  65      "providesContext": {
  66          "showArtists": "showArtists",
  67          "showImages": "showImages"
  68      },
  69      "supports": {
  70          "anchor": true,
  71          "align": true,
  72          "color": {
  73              "gradients": true,
  74              "link": true,
  75              "__experimentalDefaultControls": {
  76                  "background": true,
  77                  "text": true
  78              }
  79          },
  80          "__experimentalBorder": {
  81              "color": true,
  82              "style": true,
  83              "width": true,
  84              "__experimentalDefaultControls": {
  85                  "color": true,
  86                  "style": true,
  87                  "width": true
  88              }
  89          },
  90          "interactivity": true,
  91          "spacing": {
  92              "margin": true,
  93              "padding": true
  94          },
  95          "typography": {
  96              "fontSize": true,
  97              "__experimentalDefaultControls": {
  98                  "fontSize": true
  99              }
 100          }
 101      },
 102      "editorStyle": "wp-block-playlist-editor",
 103      "style": "wp-block-playlist"
 104  }


Generated : Sat Jul 18 08:20:16 2026 Cross-referenced by PHPXref