diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/blocks/video/block.json --- a/wp/wp-includes/blocks/video/block.json Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-includes/blocks/video/block.json Fri Sep 05 18:40:08 2025 +0200 @@ -1,6 +1,6 @@ { "$schema": "https://schemas.wp.org/trunk/block.json", - "apiVersion": 2, + "apiVersion": 3, "name": "core/video", "title": "Video", "category": "media", @@ -15,9 +15,10 @@ "attribute": "autoplay" }, "caption": { - "type": "string", - "source": "html", - "selector": "figcaption" + "type": "rich-text", + "source": "rich-text", + "selector": "figcaption", + "__experimentalRole": "content" }, "controls": { "type": "boolean", @@ -27,7 +28,8 @@ "default": true }, "id": { - "type": "number" + "type": "number", + "__experimentalRole": "content" }, "loop": { "type": "boolean", @@ -58,7 +60,8 @@ "type": "string", "source": "attribute", "selector": "video", - "attribute": "src" + "attribute": "src", + "__experimentalRole": "content" }, "playsInline": { "type": "boolean", @@ -67,6 +70,7 @@ "attribute": "playsinline" }, "tracks": { + "__experimentalRole": "content", "type": "array", "items": { "type": "object" @@ -76,7 +80,18 @@ }, "supports": { "anchor": true, - "align": true + "align": true, + "spacing": { + "margin": true, + "padding": true, + "__experimentalDefaultControls": { + "margin": false, + "padding": false + } + }, + "interactivity": { + "clientNavigation": true + } }, "editorStyle": "wp-block-video-editor", "style": "wp-block-video"