From 3aada9949d51024a92a8b5c6cb70d12f9c3cac16 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 21 Dec 2025 19:59:48 +0000
Subject: [PATCH] =auth refactored via rest, referral system set up for Jane, some javascript consolidation

---
 inc/blocks/VideoCoverBlock.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/inc/blocks/VideoCoverBlock.php b/inc/blocks/VideoCoverBlock.php
index 90bda6a..cb70517 100644
--- a/inc/blocks/VideoCoverBlock.php
+++ b/inc/blocks/VideoCoverBlock.php
@@ -92,13 +92,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 +109,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