From 52820eb70af788db49735292e2a9ad89cbf1e457 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 1 Oct 2026 13:24:07 -0300 Subject: Every recording on the landing plays by itself, and only while it is on screen The GUI clips are autoplay muted loop playsinline with their controls, and every terminal cast autoplays and loops. A few lines of script watch them with an IntersectionObserver, playing each while a quarter of it is in view and pausing it when it leaves; without the script the videos still autoplay. Co-Authored-By: Claude Opus 5.5 --- docs/site/casts/casts.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/site/casts') diff --git a/docs/site/casts/casts.toml b/docs/site/casts/casts.toml index 67553089..5771e6be 100644 --- a/docs/site/casts/casts.toml +++ b/docs/site/casts/casts.toml @@ -1,5 +1,5 @@ # The landing page's terminal recordings (asciicast v2), in the order -# shown: casts/.cast for each. The first plays by itself; all loop +# shown: casts/.cast for each. Each plays by itself while on screen; all loop # and fit the page's width. While `ready` is false the cast shows # placeholder.svg, so the site builds before a recording exists. # test/record_casts.py writes the casts and this file. -- cgit v1.3