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:
@@ -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 }); })();
|
||||
|
||||
Reference in New Issue
Block a user