Angle pages advance to the overview video (bridge headline + rewatch link) instead of replaying the hook
This commit is contained in:
+13
-12
@@ -102,30 +102,31 @@
|
||||
load();
|
||||
})();
|
||||
|
||||
// Angle-matched landing: ?v=<hook> continues the thought of whichever curiosity
|
||||
// video brought them here — headline + lead video swap, everything else stays.
|
||||
// Angle-matched landing: ?v=<hook> continues the thought of the curiosity
|
||||
// video that brought them — headline bridges, then the OVERVIEW video advances
|
||||
// the story (they already watched the hook video; don't replay it).
|
||||
(function(){
|
||||
var ANGLES={
|
||||
pocket:{h:'You already <span class="gold">found the money</span>.',w:'The flip, in full.',
|
||||
v:'/v/rmc-pocket-change-b403fb2f75.mp4',p:'/v/rmc-pocket-change-poster.jpg'},
|
||||
phone:{h:'Time your phone started <span class="gold">paying YOU</span>.',w:'Same phone. Different job description.',
|
||||
v:'/v/rmc-phone-32ac648844.mp4',p:'/v/rmc-phone-poster.jpg'},
|
||||
two:{h:'You know two people.<br><span class="gold">That’s all this takes.</span>',w:'Nothing to sell. Really.',
|
||||
v:'/v/rmc-two-people-4102f2d719.mp4',p:'/v/rmc-two-people-poster.jpg'},
|
||||
graveyard:{h:'This one runs on <span class="gold">teamwork</span> — not your transmission.',w:'Out of the graveyard, into a team.',
|
||||
v:'/v/rmc-graveyard-290fabee9d.mp4',p:'/v/rmc-graveyard-poster.jpg'}
|
||||
pocket:{h:'You already <span class="gold">found the money</span>.',w:'You saw where it goes. Here’s how the flip actually works.',r:'/v/rmc-pocket-change-b403fb2f75.mp4'},
|
||||
phone:{h:'Time your phone started <span class="gold">paying YOU</span>.',w:'You saw who’s profiting. Here’s how the phone starts paying you back.',r:'/v/rmc-phone-32ac648844.mp4'},
|
||||
two:{h:'You know two people.<br><span class="gold">That’s all this takes.</span>',w:'You’ve got your two in mind already. Here’s exactly what this is.',r:'/v/rmc-two-people-4102f2d719.mp4'},
|
||||
graveyard:{h:'This one runs on <span class="gold">teamwork</span> — not your transmission.',w:'You’ve buried enough hustles. Here’s why this one’s built different.',r:'/v/rmc-graveyard-290fabee9d.mp4'}
|
||||
};
|
||||
var a=ANGLES[new URLSearchParams(location.search).get('v')];
|
||||
if(!a)return;
|
||||
var head=document.getElementById('angleHead');
|
||||
if(head){
|
||||
// keep the personal-invitation identity in the sub position instead
|
||||
var inv=document.getElementById('invId');var idTxt=inv?inv.outerHTML:'';
|
||||
head.innerHTML=a.h;
|
||||
var sub=document.getElementById('invSub');
|
||||
if(sub)sub.innerHTML='Personally invited by <span class="gold">Member '+idTxt+'</span> — this page is their real position, read live from the blockchain.';
|
||||
}
|
||||
var wh=document.getElementById('angleWatchHead'); if(wh)wh.textContent=a.w;
|
||||
// the main video stays the team overview; offer a rewatch of the hook below it
|
||||
var vid=document.getElementById('angleVideo');
|
||||
if(vid){vid.setAttribute('poster',a.p);vid.setAttribute('src',a.v);vid.load();}
|
||||
if(vid&&vid.parentNode){
|
||||
var p=document.createElement('p');p.className='micro';p.style.cssText='text-align:center;margin:8px 0 0';
|
||||
p.innerHTML='Missed the short video that sent you here? <a href="'+a.r+'" target="_blank" rel="noopener" style="color:var(--teal)">Rewatch it ↗</a>';
|
||||
vid.parentNode.appendChild(p);
|
||||
}
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user