[ 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              "__experimentalRole": "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              "__experimentalRole": "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          "src": {
  60              "type": "string",
  61              "source": "attribute",
  62              "selector": "video",
  63              "attribute": "src",
  64              "__experimentalRole": "content"
  65          },
  66          "playsInline": {
  67              "type": "boolean",
  68              "source": "attribute",
  69              "selector": "video",
  70              "attribute": "playsinline"
  71          },
  72          "tracks": {
  73              "__experimentalRole": "content",
  74              "type": "array",
  75              "items": {
  76                  "type": "object"
  77              },
  78              "default": []
  79          }
  80      },
  81      "supports": {
  82          "anchor": true,
  83          "align": true,
  84          "spacing": {
  85              "margin": true,
  86              "padding": true,
  87              "__experimentalDefaultControls": {
  88                  "margin": false,
  89                  "padding": false
  90              }
  91          },
  92          "interactivity": {
  93              "clientNavigation": true
  94          }
  95      },
  96      "editorStyle": "wp-block-video-editor",
  97      "style": "wp-block-video"
  98  }


Generated : Thu May 2 08:20:01 2024 Cross-referenced by PHPXref