Home: seedling-in-hand video band under the steps (Marty 2026-11-18: stock clip, muted loop, poster, reduced-motion = poster only); video served with byte ranges; assets ?v=20261118a

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-18 06:31:21 -06:00
parent ddb1d6f1c5
commit 056e169814
25 changed files with 113 additions and 72 deletions
+5
View File
@@ -18,3 +18,8 @@
// PolHunter embed (the network pattern): the find code hides in one of the three steps. The mission is added in polhunter.com/admin at go-live.
const ph = document.createElement('script'); ph.async = true; ph.src = 'https://polhunter.com/embed.js'; ph.setAttribute('data-slots', '3'); ph.setAttribute('data-selector', '#how .step'); document.body.appendChild(ph);
})();
// seedling band: honour reduced motion (poster only)
(function () { var v = document.getElementById('growVid'); if (!v) return;
try { if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) { v.removeAttribute('autoplay'); v.pause(); return; } } catch (e) {}
var go = function () { var r = v.play(); if (r && r.catch) r.catch(function () {}); };
if (v.readyState >= 2) go(); else v.addEventListener('canplay', go, { once: true }); })();