From 22e1bb3fcc3b3db1c0f5c2e6a4aecaf408c307a5 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 04 Jan 2026 18:29:46 +0000
Subject: [PATCH] Merge branch 'main' of https://github.com/jakevdwerf/jvb

---
 inc/blocks/VideoCoverBlock.php |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/inc/blocks/VideoCoverBlock.php b/inc/blocks/VideoCoverBlock.php
index 90bda6a..298ee76 100644
--- a/inc/blocks/VideoCoverBlock.php
+++ b/inc/blocks/VideoCoverBlock.php
@@ -57,7 +57,8 @@
 		$date = date('c',strtotime($post->post_date));
 		$title = $attributes['title'] ?? $post->post_title;
 		$description = $attributes['description'] ?? $post->post_excerpt;
-
+		$title = "Legacy Tattoo Removal";
+		$description="A video of Madi Rawson performing laser tattoo removal treatments.";
 		// If no video sources, return empty
 		if (empty($video_sources)) {
 			return '';
@@ -92,13 +93,13 @@
 			$html .= ' poster="' . esc_url($poster_url) . '"';
 		}
 
-		$html .= '>';
+		$html .= ' fetch-priority="high">';
 
 		// Add mobile sources first (lower resolution)
 		foreach ($mobile_sources as $source) {
 			if (!empty($source['url']) && !empty($source['mime'])) {
 				$html .= '<source';
-				$html .= ' src="' . esc_url($source['url']) . '"';
+				$html .= ' data-src="' . esc_url($source['url']) . '"';
 				$html .= ' type="' . esc_attr($source['mime']) . '"';
 				$html .= ' media="(max-width: 767px)"';
 				$html .= '>';
@@ -109,7 +110,7 @@
 		foreach ($video_sources as $source) {
 			if (!empty($source['url']) && !empty($source['mime'])) {
 				$html .= '<source';
-				$html .= ' src="' . esc_url($source['url']) . '"';
+				$html .= ' data-src="' . esc_url($source['url']) . '"';
 				$html .= ' type="' . esc_attr($source['mime']) . '"';
 
 				// Add media query for desktop if mobile sources exist

--
Gitblit v1.10.0