Skip to main content
Vol. 01  ·  Issue 02Est. 2025  ·  New Haven, CT
Back to Projects
JW PlayerHLS PlaybackBug FixFirefox WorkaroundVideo Engineering

NPR Firefox HLS Playback Workaround

Interactive decoder workaround for Firefox 149 HLS playback bugs stalling video feeds after ad completions.

completed
April 2026
NPR Firefox HLS Playback Workaround

Overview

Engineered a custom solution addressing a critical HLS playback crash in Firefox 149 (Mozilla Bug 2026875). Key logic and simulation features implemented: • Stall Simulation: Intercepted raw play events to simulate HLS decoder stutters, replicating NPR's Lecrae Tiny Desk Concert player issue. • Seek Reset Hook: Attached state-seeking triggers firing immediately post-ad resolution to reset MSE buffer queues. • Event Listeners: Linked fallback timers monitoring buffering periods to execute soft seeks when playback stall thresholds are reached.

Gallery

NPR Firefox HLS Playback Workaround screenshot 1