From e6a65e9921bc0e61ea17459e4bd12f64baf0c3b8 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 10 Oct 2026 07:18:22 -0700 Subject: Videos: a tap on the picture goes full screen. The corner full-screen button is a reach on a phone, so a tap anywhere on a feed clip — outside the player's own big play button and control bar, judged from the tap's position since those live inside the video element — now goes full screen (a wide clip asks for landscape). Full screen, a tap pauses a playing clip, and a tap on a paused one (again outside its play button and controls) comes back out. A video's taps no longer reach the post either: a tap on the player's controls used to open the thread, which in full screen took the player out from under the reader. tools/video-tap-test.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3 --- tools/slow-image-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/slow-image-test.js') diff --git a/tools/slow-image-test.js b/tools/slow-image-test.js index 463a855..103f6da 100644 --- a/tools/slow-image-test.js +++ b/tools/slow-image-test.js @@ -60,7 +60,7 @@ try { await page.reload({ waitUntil: 'domcontentloaded' }); await waitText('receive', 20000); await page.evaluate(() => document.querySelector('.app-nav-button[aria-label="Feed"]')?.click()); - check('both posts show', await waitText('slow picture', 30000) && await waitText('dead picture', 5000), JSON.stringify(await page.evaluate(() => [window.__live, (window.__reqlog || []).filter((r) => r.includes('[1')).slice(0, 4)]))); + check('both posts show', await waitText('slow picture', 30000) && await waitText('dead picture', 5000)); check('the slow picture is a picture box, not a link', await page.evaluate((r) => { const n = eval(r); return !!n && !!n.querySelector('img.note-img') && ![...n.querySelectorAll('a')].some((a) => a.href.endsWith('/slow.png')); }, row('slow picture')), await page.evaluate((r) => eval(r)?.innerHTML.slice(0, 300), row('slow picture'))); let loaded = false; -- cgit v1.2.3