PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.6
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.6
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / youtube-performance / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.6, at blocks/youtube-performance/block.json

50 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/youtube-performance",
5 "title": "YouTube Performance Embed",
6 "category": "blockenberg",
7 "icon": "video-alt3",
8 "description": "High-performance YouTube embed with poster + lazy iframe on click.",
9 "keywords": ["youtube", "video", "embed", "lazy", "performance", "poster"],
10 "textdomain": "blockenberg",
11 "editorScript": "bkbg-youtube-performance-editor",
12 "editorStyle": "bkbg-youtube-performance-style",
13 "style": "bkbg-youtube-performance-style",
14 "viewScript": "bkbg-youtube-performance-frontend",
15 "supports": {
16 "html": false,
17 "anchor": true,
18 "className": true,
19 "align": ["wide", "full"]
20 },
21 "attributes": {
22 "videoUrl": { "type": "string", "default": "" },
23 "videoId": { "type": "string", "default": "" },
24
25 "privacyMode": { "type": "boolean", "default": true },
26 "startTime": { "type": "number", "default": 0 },
27 "controls": { "type": "boolean", "default": true },
28 "rel": { "type": "boolean", "default": false },
29 "mute": { "type": "boolean", "default": false },
30 "loop": { "type": "boolean", "default": false },
31
32 "posterSource": { "type": "string", "default": "youtube-max" },
33 "posterImage": { "type": "object", "default": { "id": 0, "url": "", "alt": "" } },
34
35 "showTitle": { "type": "boolean", "default": false },
36 "title": { "type": "string", "default": "" },
37
38 "aspect": { "type": "string", "default": "4/3" },
39 "minHeight": { "type": "number", "default": 350 },
40 "borderRadius": { "type": "number", "default": 12 },
41 "shadow": { "type": "boolean", "default": false },
42
43 "playStyle": { "type": "string", "default": "youtube" },
44 "playSize": { "type": "number", "default": 50 },
45 "playBg": { "type": "string", "default": "#01adee" },
46 "playColor": { "type": "string", "default": "#ffffff" },
47 "playHoverScale": { "type": "number", "default": 1.05 }
48 }
49 }
50