Reaction: YouTube-Bild bleibt auch am Rechner und quer frei
YouTubes Entwicklerregeln verbieten, den eingebetteten Player zu verdecken. In der Reaction (nicht beim Zocken, nicht in der OBS- Buehnenquelle) stehen jetzt Kameras, Ton-Knopf, Senderleiste und Spendenkarte in einer Spur unter (Ecke oben: ueber) dem Video, Ziel- Karte und Werbeband in der Zeile darunter, Faehrte und LIVE-Punkt im Chat-Kopf. Quer/flach: Spalte rechts statt Spur. Die Spur waechst mit "Wie gross". Ziel-Karte in der Zeile immer kompakt (vorher nahm sie der Leinwand die Haelfte). Pruefungen auf das neue Soll umgestellt, Gegenprobe (Bild nicht frei): 4 rot. pruef-dogtag-faehrte: Kalender- Zeitbombe im Vormonat beseitigt. Stempel 202611032039. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -7219,3 +7219,202 @@ button.leuteliste__zeile:focus-visible { background: rgba(255, 255, 255, .07); }
|
||||
50%, 96% { opacity: 1; }
|
||||
100% { opacity: 0; }
|
||||
}
|
||||
|
||||
/* =====================================================================
|
||||
DAS YOUTUBE-BILD BLEIBT FREI — AM RECHNER UND QUER (03.11.2026)
|
||||
YouTubes Entwicklerregeln: Die Bedienung des eingebetteten Players
|
||||
darf nicht verdeckt oder verändert werden; erlaubt sind nur eigene
|
||||
Steuerknöpfe, die nicht mit seinen Elementen kollidieren. Gemessen
|
||||
lagen in der Reaction Fährte, Kamerafenster, Ziel-Karte, Werbeband
|
||||
und das Schild auf dem Player.
|
||||
`data-bild="frei"` setzt reaction.js (`bildFrei()`) nur in der
|
||||
REACTION und nicht in der Bühnenquelle für OBS. Beim Zocken ist das
|
||||
Bild euer eigenes, dort bleibt alles, wie es war.
|
||||
Am Handy hochkant gilt seit dem 28.10. schon dasselbe (Block oben);
|
||||
hier steht das Gegenstück für den Rechner und für quer.
|
||||
===================================================================== */
|
||||
@media not all and (max-width: 860px) and (orientation: portrait) {
|
||||
/* ---- 1 · Das Schild weicht dem roten Punkt im Chat-Kopf ---------- */
|
||||
.saal[data-bild="frei"][data-stand="live"] .buehne-schild { display: none; }
|
||||
.saal[data-bild="frei"][data-stand="live"] .schiene__titel {
|
||||
display: inline-flex; align-items: center; gap: 8px; color: #ffe9ea;
|
||||
}
|
||||
.saal[data-bild="frei"][data-stand="live"] .schiene__titel::before {
|
||||
content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
|
||||
background: var(--an); box-shadow: 0 0 10px 1px var(--an);
|
||||
animation: reakt-atem 4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* ---- 2 · Ziel und Werbung in der Zeile unter dem Video ------------ */
|
||||
.saal[data-bild="frei"] .kino { grid-template-rows: minmax(0, 1fr) auto; }
|
||||
.saal[data-bild="frei"] .saalinfo:not([hidden]) {
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
grid-auto-columns: minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 8px 12px;
|
||||
background: #07060d;
|
||||
border-top: 1px solid var(--rand);
|
||||
}
|
||||
.saal[data-bild="frei"] .saalinfo:not(:has(.sziel[data-an="ja"])):not(:has(.werbung[data-art="laufband"], .werbung[data-art="wechsel"])) { display: none; }
|
||||
.saal[data-bild="frei"] .saalinfo__reihe { display: contents; }
|
||||
.saal[data-bild="frei"] .saalinfo__status { display: none; }
|
||||
.saal[data-bild="frei"] .saalinfo__ziel { min-width: 0; }
|
||||
.saal[data-bild="frei"] .saalinfo__ziel:empty { display: none; }
|
||||
.saal[data-bild="frei"] .saalinfo__ziel .sziel {
|
||||
position: static; inset: auto; width: 100%; transform: none;
|
||||
}
|
||||
.saal[data-bild="frei"] .saalinfo__ziel .sziel:not([data-an="ja"]) { display: none; }
|
||||
.saal[data-bild="frei"] .saalinfo__ziel .sziel[data-klein] .sziel__buehne > .szk,
|
||||
.saal[data-bild="frei"] .saalinfo__ziel .sziel .sziel__buehne > .szk {
|
||||
width: 100%; min-width: 0; justify-self: stretch; align-self: center; box-shadow: none;
|
||||
}
|
||||
.saal[data-bild="frei"] .saalinfo__werbung:empty { display: none; }
|
||||
.saal[data-bild="frei"] .saalinfo__werbung .werbung {
|
||||
position: relative; inset: auto; z-index: auto; --band-hoch: 48px;
|
||||
}
|
||||
.saal[data-bild="frei"] .saalinfo__werbung .werbung[data-art="aus"],
|
||||
.saal[data-bild="frei"] .saalinfo__werbung .werbung:not([data-art]) { display: none; }
|
||||
.saal[data-bild="frei"] .saalinfo__werbung .werbung__band {
|
||||
position: relative; left: auto; right: auto; bottom: auto;
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--rand);
|
||||
background: rgba(255, 255, 255, .03);
|
||||
backdrop-filter: none; -webkit-backdrop-filter: none;
|
||||
}
|
||||
.saal[data-bild="frei"] .saalinfo__werbung .werbung__band::before { display: none; }
|
||||
.saal[data-bild="frei"] .saalinfo__werbung .werbung__ecke { display: none !important; }
|
||||
|
||||
/* ---- 3 · Die Fährte im Chat-Kopf (dogtag-buehne.js hängt sie dorthin) */
|
||||
.saal[data-bild="frei"] .schiene__kopf .dtb-faehrte-platz { flex: 1 1 auto; min-width: 0; padding: 0; }
|
||||
.saal[data-bild="frei"] .schiene__kopf .dtb-faehrte-platz[hidden] { display: none; }
|
||||
.saal[data-bild="frei"] .schiene__kopf .dtb-faehrte.dtb-faehrte--leiste { padding: 4px 9px; gap: 8px; }
|
||||
.saal[data-bild="frei"] .schiene__kopf .dtb-faehrte--leiste .dtb-faehrte__pfoten { gap: 3px; min-width: 0; overflow: hidden; }
|
||||
.saal[data-bild="frei"] .schiene__kopf .dtb-faehrte--leiste .dtb-pfote { width: 9px; height: 9px; flex: none; }
|
||||
/* Am Rechner hat der Chat-Kopf der Regie zusätzlich die Chat-Stufen
|
||||
(Offen · Team · Zu). Gemessen drängte die Fährte sie aus der Spalte
|
||||
und schob die ganze Schiene seitlich über den Rand. Deshalb bekommt
|
||||
sie hier eine eigene, volle Zeile im Kopf statt eines Platzes daneben. */
|
||||
.saal[data-bild="frei"] .schiene__kopf { flex-wrap: wrap; row-gap: 8px; }
|
||||
.saal[data-bild="frei"] .schiene__kopf .dtb-faehrte-platz { flex: 1 0 100%; order: 9; }
|
||||
.saal[data-bild="frei"] .schiene__kopf .dtb-faehrte.dtb-faehrte--leiste { display: flex; align-items: center; justify-content: space-between; }
|
||||
.saal[data-bild="frei"] .schiene__kopf .dtb-faehrte--leiste .dtb-faehrte__kopf { gap: 8px; }
|
||||
.saal[data-bild="frei"] .schiene__kopf .dtb-faehrte__zahl { white-space: nowrap; }
|
||||
|
||||
/* ---- 4 · Die Spur unter dem Bild ------------------------------------
|
||||
Die Leinwand ist fast immer höher als ein 16:9-Bild in ihrer Breite
|
||||
(gemessen 1072 × 780 bei 1440 × 900 — das Video braucht 603). Der
|
||||
Rest war schwarzer Rand des Players; jetzt wohnen dort Kameras,
|
||||
Ton-Knopf und Senderleiste. Das Video wird dadurch erst kleiner,
|
||||
wenn das Fenster sehr breit und flach ist. */
|
||||
/* Die Spur wächst mit „Wie groß“ der Kameras (`--kam-gross`, 0,6–2):
|
||||
größere Gesichter heißt eine höhere Spur, nie Gesichter über dem Bild. */
|
||||
.saal[data-bild="frei"] .leinwand { --spur: clamp(92px, calc(17vh * var(--kam-gross, 1)), 36vh); container: leinwand / inline-size; }
|
||||
/* Wer sendet, hat Senderleiste UND vielleicht „Ton einschalten“: beide
|
||||
links übereinander, die Kameras rechts. Dafür braucht die Spur Höhe. */
|
||||
.saal[data-bild="frei"] .leinwand:has(#senderleiste:not([hidden])) { --spur: clamp(124px, calc(19vh * var(--kam-gross, 1)), 38vh); }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"] .leinwand,
|
||||
.saal[data-bild="frei"] .kino[data-layout="nur_video"] .leinwand:has(#senderleiste:not([hidden])) {
|
||||
grid-template-rows: minmax(0, 1fr) var(--spur);
|
||||
place-items: stretch;
|
||||
}
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"] .leinwand__video,
|
||||
.saal[data-bild="frei"] .kino[data-layout="nur_video"] .leinwand__video { grid-row: 1; grid-column: 1; }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"] .kameras {
|
||||
inset: auto var(--kam-rand) 10px auto;
|
||||
height: calc(var(--spur) - 20px);
|
||||
width: auto; max-width: 46%;
|
||||
flex-direction: row; align-items: stretch; gap: 10px;
|
||||
}
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke="ol"] .kameras,
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke="ul"] .kameras {
|
||||
inset: auto auto 10px var(--kam-rand);
|
||||
}
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"] .kamera {
|
||||
width: auto; height: 100%; flex: 0 1 auto; min-width: 0;
|
||||
}
|
||||
/* Was vorher unten über dem Bild lag, liegt jetzt unten in der Spur. */
|
||||
.saal[data-bild="frei"] .leinwand .senderleiste { bottom: 8px; }
|
||||
.saal[data-bild="frei"] .kino[data-ecke="ol"] .senderleiste,
|
||||
.saal[data-bild="frei"] .kino[data-ecke="ul"] .senderleiste { left: auto; right: 16px; }
|
||||
/* `top: auto` ist Pflicht: Eine ältere Regel für schmale Fenster setzt den
|
||||
Knopf mit `top: 50%` in die Bildmitte. Mit unserem `bottom` zusammen
|
||||
spannte er sich über die halbe Leinwand (gemessen quer: ein runder
|
||||
Fleck über der Kamera). */
|
||||
.saal[data-bild="frei"] .leinwand .ton-an { top: auto; bottom: calc((var(--spur) - 44px) / 2); transform: translateX(-50%); }
|
||||
.saal[data-bild="frei"] .leinwand:has(#senderleiste:not([hidden])) .ton-an {
|
||||
left: 16px; top: auto; transform: none; bottom: calc(8px + 54px + 8px);
|
||||
}
|
||||
.saal[data-bild="frei"] .kino[data-ecke="ol"] .leinwand:has(#senderleiste:not([hidden])) .ton-an,
|
||||
.saal[data-bild="frei"] .kino[data-ecke="ul"] .leinwand:has(#senderleiste:not([hidden])) .ton-an { left: auto; right: 16px; }
|
||||
.saal[data-bild="frei"] .leinwand .tonwache { bottom: 8px; }
|
||||
.saal[data-bild="frei"] .leinwand .leinwand__tempo { top: auto; bottom: calc(var(--spur) - 30px); }
|
||||
/* Unten bündig: Eine doppelt große Karte wächst nach oben ins Bild
|
||||
(für ein paar Sekunden), nie über den Rand der Leinwand hinaus. */
|
||||
.saal[data-bild="frei"] .leinwand .spendentafel[data-platz] {
|
||||
inset: auto 0 0 0;
|
||||
height: var(--spur);
|
||||
padding: 6px 18px 8px;
|
||||
align-content: end;
|
||||
justify-items: center;
|
||||
}
|
||||
|
||||
/* ---- „Oben links / oben rechts“: die Spur steht ÜBER dem Video ----
|
||||
Die Eckenwahl der Regie behält ihre Bedeutung: oben heißt oben. */
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke^="o"] .leinwand { grid-template-rows: var(--spur) minmax(0, 1fr); }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke^="o"] .leinwand__video { grid-row: 2; }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke="or"] .kameras { inset: 10px var(--kam-rand) auto auto; }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke="ol"] .kameras { inset: 10px auto auto var(--kam-rand); }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke^="o"] .leinwand .senderleiste { top: 8px; bottom: auto; }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke^="o"] .leinwand .ton-an { top: calc((var(--spur) - 44px) / 2); bottom: auto; }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke^="o"] .leinwand:has(#senderleiste:not([hidden])) .ton-an { top: calc(8px + 54px + 8px); bottom: auto; }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke^="o"] .leinwand .tonwache { top: 8px; bottom: auto; }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke^="o"] .leinwand .leinwand__tempo { top: calc(var(--spur) - 30px); bottom: auto; }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke^="o"] .leinwand .spendentafel[data-platz] { inset: 0 0 auto 0; align-content: start; }
|
||||
}
|
||||
/* SCHMALE LEINWAND (Regie mit Pultspalte, kleine Fenster): Die Senderleiste
|
||||
zeigt nur Zeichen. Die Worte bleiben für Vorleseprogramme im Knopf –
|
||||
sichtbar ausgeblendet, nicht entfernt (sonst hätte der Knopf keinen
|
||||
Namen mehr). */
|
||||
@container leinwand (max-width: 900px) {
|
||||
.saal[data-bild="frei"] .senderleiste #s-kamera-wort,
|
||||
.saal[data-bild="frei"] .senderleiste #s-teilen-wort,
|
||||
.saal[data-bild="frei"] .senderleiste #s-mikro-wort,
|
||||
.saal[data-bild="frei"] .senderleiste .sender-knopf__wort {
|
||||
position: absolute; width: 1px; height: 1px; overflow: hidden;
|
||||
clip-path: inset(50%); white-space: nowrap;
|
||||
}
|
||||
}
|
||||
/* QUER UND FLACH (Handy quer, sehr flache Fenster): Die Leinwand ist dort
|
||||
breit, aber nur gut 250 Punkte hoch. Eine Spur DARUNTER drückte das
|
||||
Video auf 160 Punkte (gemessen auf 844 × 390). Platz ist an der SEITE:
|
||||
Ein 16:9-Bild in 250 Punkten Höhe braucht nur 450 der 844 Punkte
|
||||
Breite. Also stehen Kameras, Ton-Knopf und Spendenkarte dort rechts. */
|
||||
@media (orientation: landscape) and (max-height: 520px) {
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"] .leinwand,
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke] .leinwand {
|
||||
--seite: clamp(132px, 24vw, 210px);
|
||||
grid-template-rows: minmax(0, 1fr);
|
||||
grid-template-columns: minmax(0, 1fr) var(--seite);
|
||||
}
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke] .leinwand__video { grid-row: 1; }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"] .kameras,
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke] .kameras {
|
||||
inset: 8px 8px auto auto;
|
||||
width: calc(var(--seite) - 16px); height: auto; max-width: none;
|
||||
flex-direction: column; align-items: stretch; gap: 8px;
|
||||
}
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"] .kamera { width: 100%; height: auto; }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke] .leinwand .ton-an,
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke] .leinwand:has(#senderleiste:not([hidden])) .ton-an {
|
||||
left: auto; right: 8px; top: auto; bottom: 8px; transform: none;
|
||||
max-width: calc(var(--seite) - 16px); white-space: nowrap;
|
||||
min-height: 40px; padding: 8px 12px; font-size: .8rem;
|
||||
}
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke] .leinwand .leinwand__tempo { left: auto; right: 8px; top: auto; bottom: 56px; }
|
||||
.saal[data-bild="frei"] .kino[data-layout="kino"][data-ecke] .leinwand .spendentafel[data-platz] {
|
||||
inset: 0 0 0 auto; width: var(--seite); height: auto;
|
||||
padding: 8px; align-content: end;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user