From 0afb2c0046b55c123eafb4ab9ee77efa68d12463 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 06 Jun 2026 17:15:31 +0000
Subject: [PATCH] =Starting the Favourites.js setup, converting previous Northeh stuff to new Registrar, fixing up Square.php integration to match
---
src/video/block.json | 45 ++++++++++++++++++++++++++-------------------
1 files changed, 26 insertions(+), 19 deletions(-)
diff --git a/src/video/block.json b/src/video/block.json
index 5e92360..24561de 100644
--- a/src/video/block.json
+++ b/src/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",
@@ -13,9 +13,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
@@ -42,31 +54,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"
}
--
Gitblit v1.10.0