From d7e7d248cbe41cd7a9ef9c2fb022b6c4831f99a3 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 31 May 2026 15:22:56 +0000
Subject: [PATCH] =jakevan complete
---
build/video/block.json | 45 ++++++++++++++++++++++++++-------------------
1 files changed, 26 insertions(+), 19 deletions(-)
diff --git a/build/video/block.json b/build/video/block.json
index 7a88d90..a30b033 100644
--- a/build/video/block.json
+++ b/build/video/block.json
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
- "name": "jvb/video-cover",
+ "name": "jvb/video",
"version": "1.0.0",
"title": "Video Cover",
"category": "jvb",
@@ -16,9 +16,21 @@
"spacing": {
"margin": true,
"padding": true
+ },
+ "color": {
+ "background": true,
+ "text": true
}
},
"attributes": {
+ "title": {
+ "type": "string",
+ "default": ""
+ },
+ "description": {
+ "type": "string",
+ "default": ""
+ },
"posterId": {
"type": "number",
"default": 0
@@ -45,31 +57,26 @@
}
}
},
- "mobileSources": {
- "type": "array",
- "default": [],
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "number"
- },
- "url": {
- "type": "string"
- },
- "mime": {
- "type": "string"
- }
- }
- }
- },
"fadeEffect": {
"type": "boolean",
"default": false
+ },
+ "overlayOpacity": {
+ "type": "number",
+ "default": 0
+ },
+ "contentAlignment": {
+ "type": "string",
+ "default": "center"
+ },
+ "minHeight": {
+ "type": "number",
+ "default": 0
}
},
"textdomain": "jvb",
"editorScript": "file:./index.js",
+ "viewScript": "file:./view.js",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css"
}
\ No newline at end of file
--
Gitblit v1.10.0