PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 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 All 404 releases
gutenberg / build / scripts / block-library / video / block.json

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

115 lines 2.1 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 "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 "shadow": {
106 "__experimentalSkipSerialization": true
107 }
108 },
109 "selectors": {
110 "shadow": ".wp-block-video video"
111 },
112 "editorStyle": "wp-block-video-editor",
113 "style": "wp-block-video"
114 }
115