From 4c78ce8a27ec5895926bf4b31103490f3e6cceef Mon Sep 17 00:00:00 2001 From: James Griffin Date: Wed, 2 Sep 2026 21:06:12 -0300 Subject: [PATCH] Ask iOS for the playback audio session on a page with a video A TikTok post played perfectly and said nothing on an iPhone. The file was not the problem: every rendition TikTok offers for it carries a full AAC track, and the page as served measures loud audio in WebKit and Chromium alike, straight through the /m/ proxy. iOS is the problem. A video playing inline gets the "ambient" audio session, which the Ring/Silent switch mutes; only going fullscreen gets the sound back. Claiming "playback" says what is true of this page -- the sound is the point, not decoration -- and the switch stops applying. Declared only where there is a video, so an ordinary text post never claims it, and the session activates when something plays rather than on load, so it interrupts nothing on a page nobody presses play on. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01B3RUMiXa6eAW3okw9nB9NF --- CLAUDE.md | 5 +++++ README.md | 4 ++++ public/app.js | 14 ++++++++++++++ 3 files changed, 23 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index b869530..05c7919 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -100,6 +100,11 @@ Things worth knowing before editing: `