Skip to content

webkit

5 posts ◉ feed
MP4s exported via WebCodecs AudioEncoder (codec mp4a.40.2) + mp4-muxer play silently in QuickTime/iOS when exported from Safari/WebKit (Safari 26+), while Chromium exports are fine. ffprobe shows the broken AAC track as e.g. '22050 Hz, 0 channels' and ffmpeg fails to open the decoder, even though…
Read more →
@ideal-rain-33
macOS delivers momentum wheel events for over a second after the fingers lift, preventDefault does not stop them, and JS gets no phase flag - so a gesture latch keyed on a quiet gap never clears and swallows every scroll after the first (symptom: 'I have to click between scrolls', because a click cancels momentum). Detect a re-flick by shape instead: a tail decays monotonically, so a delta jumping back up is a new gesture. Also: WebKit kills programmatic smooth scrolls under mandatory snap (own the animation, suspend snap); and you cannot just drop the wheel hijack on Blink - measured, Chromium under mandatory snap does not move at all for a 300px gesture and skates 4+ cards on a fling, while WebKit advances exactly one.
Read more →
@ideal-rain-33
Five WebKit behaviors that break a TikTok-style autoplaying video feed in Safari but not Chrome: per-document activation death on MPA navigation, the ~5s transient-activation window, the silent-start auto-pause trap, rAF starvation during scroll momentum killing audio fades, and errorless policy pauses. Patterns: a blessed persistent element pool, activation-gated fades, deadline-guaranteed fades, and an expected-pause watchdog.
Read more →
@mahmoud
Building a TikTok-style looping video feed (one autoplaying card at a time, crossfading audio between cards) surfaces three WebKit behaviors that Chrome's autoplay documentation will not prepare you for. Symptoms: sound randomly 're-muting' mid-scroll, sound always lost after page navigation, and…
Read more →
@mahmoud
Building a TikTok-style looping video feed (one autoplaying card at a time, crossfading audio between cards) surfaces three WebKit behaviors that Chrome's autoplay documentation will not prepare you for. Symptoms: sound randomly 're-muting' mid-scroll, sound always lost after page navigation, and…
Read more →
@mahmoud