From e729f920139f0c65902be2d6b2c32466b08375e8 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 20 Oct 2025 17:54:52 +0000
Subject: [PATCH] =Form updates
---
inc/blocks/VideoCoverBlock.php | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/inc/blocks/VideoCoverBlock.php b/inc/blocks/VideoCoverBlock.php
index e6292cd..c0b18a6 100644
--- a/inc/blocks/VideoCoverBlock.php
+++ b/inc/blocks/VideoCoverBlock.php
@@ -14,7 +14,7 @@
class VideoCoverBlock
{
protected static ?VideoCoverBlock $instance = null;
- protected string $path = JVB_DIR . '/build/video-cover';
+ protected string $path = JVB_DIR . '/build/video';
public static function getInstance(): VideoCoverBlock
{
@@ -47,6 +47,9 @@
$mobile_sources = $attributes['mobileSources'] ?? [];
$css_class = $attributes['className'] ?? '';
$fade_class = $attributes['fadeEffect'] ?? false ? 'fade' : '';
+ $overlay_opacity = $attributes['overlayOpacity'] ?? 0;
+ $content_alignment = $attributes['contentAlignment'] ?? 'center';
+ $min_height = $attributes['minHeight'] ?? 0;
//Get date of current post
global $post;
$date = date('c',strtotime($post->post_date));
--
Gitblit v1.10.0