synchro du labo (0bf0da65) : app.blade.php, README.md

This commit is contained in:
cloudion
2026-11-03 22:41:40 +00:00
commit 4427155b2d
2 changed files with 47 additions and 0 deletions

26
app.blade.php Normal file
View File

@@ -0,0 +1,26 @@
{{-- PL0XION youtube ▶ — FUSIONNÉ dans «player» (vague fusion 16.08, quête merge-media :
player ← youtube+tv+media). Stub de redirection rétro-compat : /px/youtube et
jOS.openPloxion('youtube') mènent à l'onglet ▶ YouTube du Lecteur. Les récents
(xb:youtube), la recherche, le ⧗ tsoin, les ports bus ploxion.youtube.open/play,
l'event jos:youtube et window.__ytPending sont repris par player. --}}
<script>
(function(){
'use strict';
var ID='youtube', HOST='player', TAB='youtube', HN='Lecteur';
function mount(container, ctx){
container.innerHTML='<div style="display:flex;height:100%;align-items:center;justify-content:center;text-align:center;padding:24px;color:#8aa0bd;font-family:ui-sans-serif,system-ui">▶ «youtube» est fusionné dans <b style="color:#eafff6;margin:0 5px">🎞️ '+HN+'</b> — ouverture…</div>';
try{ window.__pxJump=window.__pxJump||{}; window.__pxJump[HOST]=TAB; }catch(e){}
try{ var T=(window.jOSb&&window.jOSb.toast)||(window.jOS&&window.jOS.toast); if(T)T('▶ «youtube» est fusionné dans «'+HN+'» (onglet YouTube)'); }catch(e){}
if(ctx&&ctx.standalone){ try{ location.replace('/px/'+HOST+'?tab='+TAB); }catch(e){} }
else setTimeout(function(){
try{ if(window.jOSui&&jOSui.tier&&jOSui.tier()==='mobile'&&window.jOSMobile&&jOSMobile.open){ jOSMobile.open(HOST,HN); }
else if(window.jOS&&window.jOS.openPloxion){ window.jOS.openPloxion(HOST); } }catch(e){}
try{ window.dispatchEvent(new CustomEvent('jos:px:tab',{detail:{host:HOST,tab:TAB}})); }catch(e){}
try{ if(ctx&&ctx.close) setTimeout(function(){ ctx.close(); },350); }catch(e){}
},0);
return { unmount:function(){ container.innerHTML=''; } };
}
window.jOSApps=window.jOSApps||{};
window.jOSApps[ID]={manifest:{id:ID,name:'YouTube → Lecteur',icon:'▶'},mount:mount};
})();
</script>