Saal am Handy hochkant: auch dort liegt nichts mehr auf dem YouTube-Bild
Kamera-Kacheln (40 px, rechts), "Ton einschalten" und Senderleiste (links) stehen in der Info-Zeile unter dem Video statt darauf; Ziel- Karte und Band ruecken dazwischen. Kostet keinen Chat-Platz (390: 341 px, iPhone SE: 222 px wie vorher). Wer selbst sendet, bekommt dafuer eine eigene obere Zeile. "Ton einschalten" darf die Zeile kurz ueberdecken (verschwindet beim ersten Tippen). Namensschilder 11,5 px, "stumm" als Punkt. pruef-saal-handy: zwei neue Pruefungen (vorher rot), 29/0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -229,6 +229,24 @@ melde("\n=== Handy hochkant (390 × 844) ===");
|
||||
`statt des Schilds: „LIVE“ mit rotem Punkt im Chat-Kopf, ${m.chatZahl} dabei (Schild sagte „${m.schildZahl}“)`);
|
||||
ok(m.chatH >= 250, `der Chat behält Platz (${m.chatH} px)`);
|
||||
ok(m.breit, "nichts läuft seitlich hinaus");
|
||||
/* HOCHKANT AUCH FREI (03.11.2026, Filipe: „falls das noch nicht
|
||||
perfektioniert ist mach es“): Kamera-Kacheln und „Ton einschalten“
|
||||
stehen in der Info-Zeile unter dem Video – nicht auf dem Player – und
|
||||
decken dort weder Ziel-Karte noch Band zu. */
|
||||
const hochZeile = await s.seite.evaluate(() => {
|
||||
const r = (e) => e && e.getBoundingClientRect();
|
||||
const deckt = (a, b) => !!a && !!b && b.width > 2 && Math.min(a.right, b.right) - Math.max(a.left, b.left) > 2 && Math.min(a.bottom, b.bottom) - Math.max(a.top, b.top) > 2;
|
||||
const ziel = r(document.querySelector("#saalinfo .szk[data-sichtbar='ja']"));
|
||||
const band = r(document.querySelector("#saalinfo .werbung__band"));
|
||||
const kams = [...document.querySelectorAll("#kameras .kamera")].map(r).filter((x) => x && x.width > 2);
|
||||
return { n: kams.length, kleinste: kams.length ? Math.round(Math.min(...kams.map((k) => k.height))) : 0,
|
||||
decktInfo: kams.filter((k) => deckt(k, ziel) || deckt(k, band)).length,
|
||||
imFenster: kams.every((k) => k.left >= 0 && k.right <= innerWidth + 1) };
|
||||
});
|
||||
ok(m.kamR.length > 0 && m.kamAufVideo === 0 && !m.tonAufVideo,
|
||||
`hochkant: Kamera-Kacheln und „Ton einschalten“ liegen nicht auf dem YouTube-Bild (${m.kamAufVideo} darauf, Ton darauf: ${m.tonAufVideo})`);
|
||||
ok(hochZeile.n > 0 && hochZeile.decktInfo === 0 && hochZeile.imFenster && hochZeile.kleinste >= 36,
|
||||
`hochkant: die Kacheln stehen in der Info-Zeile, ganz im Bild, mindestens 36 px hoch, ohne Karte oder Band zu decken (${JSON.stringify(hochZeile)})`);
|
||||
ok(s.konsole.length === 0, `keine Fehler in der Konsole (${s.konsole.slice(0, 3).join(" | ") || "keine"})`);
|
||||
await s.seite.screenshot({ path: join(HIER, "pruef-saal-handy-hoch.png") });
|
||||
/* DREHEN: quer wandert alles zurück über das Bild — ohne Neuladen. */
|
||||
|
||||
Reference in New Issue
Block a user