LIVE loads YouTube only after Play, and stops when its view is hidden

Selecting a station no longer builds the player: the LIVE section and the
Cockpit's LIVE page show a poster with Play under the line that YouTube sees
the viewer's IP address, as SECURITY.md asks of third-party media. The player
goes when the section collapses, Context collapses or closes, the Cockpit
leaves its LIVE page, or the Cockpit is entered or left, so nothing plays
unseen. A selection that moves straight on to another entry of the same
station (the Cockpit stepping between views) keeps the player instead of
rebuilding it. SECURITY.md also lists the ISS telemetry relay.
This commit is contained in:
Denis Groshev committed 2026-11-17 16:25:04 +01:00
1 parent 71d57481b7
commit 1e2332eeb6
14 files changed
+314 -108

No files matched your search

+30
View File
@@ -140,6 +140,36 @@
.live-screen:not(.active) .live-player-host {
display: none;
}
/* The poster's Play: the only way the player is loaded. */
.live-play {
position: absolute;
inset: 0;
margin: auto;
width: max-content;
height: max-content;
display: inline-flex;
align-items: center;
gap: 6px;
min-width: 44px;
min-height: 44px;
padding: 8px 18px;
border: 1px solid rgba(255, 255, 255, 0.45);
border-radius: 4px;
background: rgba(0, 7, 12, 0.72);
color: #f4fbff;
font: inherit;
font-size: 12px;
letter-spacing: 0.1em;
cursor: pointer;
}
.live-play:hover,
.live-play:focus-visible {
border-color: #ff3b3b;
outline: none;
}
.live-play .material-symbols-outlined {
font-size: 20px;
}
.live-card {
position: absolute;
inset: 0;