[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/video",
   5      "title": "Video",
   6      "category": "media",
   7      "description": "Embed a video from your media library or upload a new one.",
   8      "keywords": [ "movie" ],
   9      "textdomain": "default",
  10      "attributes": {
  11          "autoplay": {
  12              "type": "boolean",
  13              "source": "attribute",
  14              "selector": "video",
  15              "attribute": "autoplay"
  16          },
  17          "caption": {
  18              "type": "rich-text",
  19              "source": "rich-text",
  20              "selector": "figcaption",
  21              "role": "content"
  22          },
  23          "controls": {
  24              "type": "boolean",
  25              "source": "attribute",
  26              "selector": "video",
  27              "attribute": "controls",
  28              "default": true
  29          },
  30          "id": {
  31              "type": "number",
  32              "role": "content"
  33          },
  34          "loop": {
  35              "type": "boolean",
  36              "source": "attribute",
  37              "selector": "video",
  38              "attribute": "loop"
  39          },
  40          "muted": {
  41              "type": "boolean",
  42              "source": "attribute",
  43              "selector": "video",
  44              "attribute": "muted"
  45          },
  46          "poster": {
  47              "type": "string",
  48              "source": "attribute",
  49              "selector": "video",
  50              "attribute": "poster"
  51          },
  52          "preload": {
  53              "type": "string",
  54              "source": "attribute",
  55              "selector": "video",
  56              "attribute": "preload",
  57              "default": "metadata"
  58          },
  59          "blob": {
  60              "type": "string",
  61              "role": "local"
  62          },
  63          "src": {
  64              "type": "string",
  65              "source": "attribute",
  66              "selector": "video",
  67              "attribute": "src",
  68              "role": "content"
  69          },
  70          "width": {
  71              "type": "number"
  72          },
  73          "height": {
  74              "type": "number"
  75          },
  76          "playsInline": {
  77              "type": "boolean",
  78              "source": "attribute",
  79              "selector": "video",
  80              "attribute": "playsinline"
  81          },
  82          "tracks": {
  83              "role": "content",
  84              "type": "array",
  85              "items": {
  86                  "type": "object"
  87              },
  88              "default": []
  89          }
  90      },
  91      "supports": {
  92          "anchor": true,
  93          "align": true,
  94          "spacing": {
  95              "margin": true,
  96              "padding": true,
  97              "__experimentalDefaultControls": {
  98                  "margin": false,
  99                  "padding": false
 100              }
 101          },
 102          "interactivity": {
 103              "clientNavigation": true
 104          }
 105      },
 106      "editorStyle": "wp-block-video-editor",
 107      "style": "wp-block-video"
 108  }


Generated : Mon Jul 27 08:20:18 2026 Cross-referenced by PHPXref