Skip to content

ndots post: show the whole animation on one screen - #2256

Merged
bobbyonmagic merged 1 commit into
mainfrom
content/ndots-video-fit
Nov 17, 2026
Merged

bobbyonmagic merged 1 commit into
mainfrom
content/ndots-video-fit

Conversation

@bobbyonmagic

@bobbyonmagic bobbyonmagic commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

The ndots animation is portrait (1200x1640), so on a laptop you never saw it whole.

  • New 1600x1000 cut of the same animation: same light look, 19.2 s loop, same captions and pace. Text is larger (captions 30 px, names 23 px mono). MP4 595 KB, poster 130 KB.
  • Screens wider than 640 px get the landscape video. Phones keep the portrait one.
  • Same post-video-wide / post-video-tall CSS as Post: JavaScript Promises, Visualized: The Event Loop Behind Node.js #2252, copied in the same place. Merging both branches gives no conflict.

Measured on the preview. The sticky header is 87 px.

Viewport Space under header Before After
1280x800 713 px 928x1268, too tall 928x581, fits
1440x900 813 px 1018x1391, too tall 1018x637, fits
390x844 757 px 358x489, fits same video

Both posters download on every page (about 110-130 KB extra), as in #2252.

The portrait animation rendered about 928x1268 at 1280x800, taller than
the screen. A 1600x1000 cut of the same animation now shows on wider
screens, and phones keep the portrait one. Reuses the post-video-wide and
post-video-tall classes from the promises post.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying devops-daily with  Cloudflare Pages  Cloudflare Pages

Latest commit: a6ef1b4
Status: ✅  Deploy successful!
Preview URL: https://16c03032.devops-daily.pages.dev
Branch Preview URL: https://content-ndots-video-fit.devops-daily.pages.dev

View logs

@bobbyonmagic
bobbyonmagic merged commit 7d4c255 into main Nov 17, 2026
3 checks passed
@bobbyonmagic
bobbyonmagic deleted the content/ndots-video-fit branch November 17, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant