aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-03 15:32:41 -0700
committerAdam Soltys <[email protected]>2026-10-03 15:32:41 -0700
commitd39a1b87358965bb0118cb88e4c8a86c89992a4c (patch)
tree5af78f223f1c21bccad01851fbb7b56f7f9a1919 /src/style.css
parent8edbd7b7544d829f44d36b430c4fcbbc521224a8 (diff)
downloadcoinosv3-d39a1b87358965bb0118cb88e4c8a86c89992a4c.tar.gz
coinosv3-d39a1b87358965bb0118cb88e4c8a86c89992a4c.zip
Video tiles: a frame even when the size check fails; retry it later
Efrat's clip (blossom.primal.net → r2a.primal.net) showed a blank tile on a phone: the 64 KB probe failed there (slow connection), the failure was kept for good, and a tile with a failed probe never tried for a frame. - A failed probe is dated and asked again after an hour (it was kept forever; old 'failed: true' entries are retried). The probe waits 10 s. - A tile whose probe failed still tries for a first frame, giving up and letting go of the file after 8 s. - Primal's CDN lets scripts read the bytes but not Content-Range, so the size was unknown: a HEAD's Content-Length (readable by any page) fills it in. - No size in imeta but a bitrate and duration (Primal posts those): the size is estimated from them. 'dim 1080.0x1920.0' is understood. - A tile with nothing to show is dark, like a video, not a pale gap. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01ULQZS9MQa6iAsXnrJUD9Du
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.css b/src/style.css
index be15a80..b871bd4 100644
--- a/src/style.css
+++ b/src/style.css
@@ -1458,7 +1458,7 @@ body::after {
.note-video-box .vid-heavy { min-height: 120px; }
.media-tile-cost {
position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
- color: var(--muted); font-size: 12px; font-weight: 600; background: var(--surface2);
+ color: rgba(255, 255, 255, .8); font-size: 12px; font-weight: 600; background: #16181d;
}
.media-tile-badge {
position: absolute; left: 6px; bottom: 6px; padding: 1px 6px; border-radius: 6px;