[ 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          "playsInline": {
  71              "type": "boolean",
  72              "source": "attribute",
  73              "selector": "video",
  74              "attribute": "playsinline"
  75          },
  76          "tracks": {
  77              "role": "content",
  78              "type": "array",
  79              "items": {
  80                  "type": "object"
  81              },
  82              "default": []
  83          }
  84      },
  85      "supports": {
  86          "anchor": true,
  87          "align": true,
  88          "spacing": {
  89              "margin": true,
  90              "padding": true,
  91              "__experimentalDefaultControls": {
  92                  "margin": false,
  93                  "padding": false
  94              }
  95          },
  96          "interactivity": {
  97              "clientNavigation": true
  98          }
  99      },
 100      "editorStyle": "wp-block-video-editor",
 101      "style": "wp-block-video"
 102  }


Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref