From 5ce991d1a4f8ee68de4ad07f6d71159e2f0dc9ff Mon Sep 17 00:00:00 2001 From: nyanmisaka Date: Thu, 28 May 2026 17:34:30 +0800 Subject: [PATCH] Disable known broken fMP4 HLS container on Firefox 149 Only this major version 149 will not receive a fix, and it seems that some Linux distributions ship this buggy version by default. https://bugzilla.mozilla.org/show_bug.cgi?id=2026875 Signed-off-by: nyanmisaka --- src/scripts/browserDeviceProfile.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index 642387e26b..65d7441763 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -839,6 +839,12 @@ export default function (options) { enableFmp4Hls = false; } + // fMP4 in Firefox 149 is largely broken due to bad moof::traf::tfdt handling + // https://bugzilla.mozilla.org/show_bug.cgi?id=2026875 + if (browser.firefox && browser.versionMajor == 149) { + enableFmp4Hls = false; + } + if (canPlayHls() && browser.enableHlsAudio !== false) { profile.TranscodingProfiles.push({ Container: enableFmp4Hls ? 'mp4' : 'ts',