From 0e4b986e81f8132a44e61fa8df18860301cc3468 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 01 Jan 2026 20:31:10 +0000
Subject: [PATCH] =JakeVan preliminary additions
---
build/video/block.json | 27 ++++++++++++++++++++++++++-
1 files changed, 26 insertions(+), 1 deletions(-)
diff --git a/build/video/block.json b/build/video/block.json
index 7a88d90..6b909af 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": "rich-text",
+ "default": ""
+ },
"posterId": {
"type": "number",
"default": 0
@@ -66,10 +78,23 @@
"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