mirror of
https://git.j0bot.ch/admin_j0bot/ploxion-tv.git
synced 2026-11-29 07:25:06 +00:00
synchro du labo (0bf0da65) : app.blade.php, README.md
This commit is contained in:
commit
1d94d12325
21
README.md
Normal file
21
README.md
Normal file
@ -0,0 +1,21 @@
|
||||
# 📺 TV
|
||||
|
||||
La télé du xerboxion : chaînes live (France 24, euronews, Sky, Al Jazeera, NASA, lofi…) par catégorie. Apparaît dans le Mixer.
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| id | `tv` |
|
||||
| fournit | `tv` `live` `video` |
|
||||
| bions qu'il nomme | `jOSApps` `jOSMobile` |
|
||||
| fichiers | `app.blade.php` |
|
||||
| dans le labo | `resources/views/ploxions/tv/` (dépôt `my_website2`) |
|
||||
|
||||
## Contribuer
|
||||
|
||||
- **Dans le xer** : https://labo.j0bot.ch/px/atelier?ploxion=tv — prends-le, modifie-le, vois-le tourner, « ⧗ envoyer le tsoin ».
|
||||
- **Dans VS Code** : `xb prendre tv` (ou l'extension xerboxion › ⇩ Prendre), puis ⧗ Envoyer.
|
||||
- Le chemin complet : https://labo.j0bot.ch/px/contribuer
|
||||
|
||||
Ce dépôt est un **miroir** du labo (synchronisé par `bin/ploxions-forge.mjs`, depuis le commit `0bf0da65`) : une modif se propose par un tsoin ou une branche du labo, pas directement ici.
|
||||
|
||||
© 2026 chill-tekk · ne pas nuire
|
||||
25
app.blade.php
Normal file
25
app.blade.php
Normal file
@ -0,0 +1,25 @@
|
||||
{{-- PL0XION tv 📺 — FUSIONNÉ dans «player» (vague fusion 16.08, quête merge-media :
|
||||
player ← youtube+tv+media). Stub de redirection rétro-compat : /px/tv et
|
||||
jOS.openPloxion('tv') mènent à l'onglet 📺 TV du Lecteur. Les chaînes live curées,
|
||||
le rejeu ⧗ (jOSb.cue('tv')) et le port bus ploxion.tv.open sont repris par player. --}}
|
||||
<script>
|
||||
(function(){
|
||||
'use strict';
|
||||
var ID='tv', HOST='player', TAB='tv', 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">📺 «tv» 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('📺 «tv» est fusionné dans «'+HN+'» (onglet TV)'); }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:'TV → Lecteur',icon:'📺'},mount:mount};
|
||||
})();
|
||||
</script>
|
||||
Loading…
Reference in New Issue
Block a user