PluginProbe
Gutenberg / 23.5.1
Gutenberg v23.5.1
23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 7.4.0 All 402 releases
gutenberg / build / scripts / block-library / video / block.json

block.json in Gutenberg 23.5.1, at build/scripts/block-library/video/block.json

103 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 }
103