Backport pull request #7335 from jellyfin-web/release-10.11.z

Blacklist Firefox native mkv playback

Original-merge: f2d2c5b26e16be0bec0d26674ad2b31ae6ebdab5

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
This commit is contained in:
gnattu
2025-11-17 11:14:19 -05:00
committed by thornbill
parent 573c31032d
commit a2e9231983
+7
View File
@@ -205,6 +205,13 @@ function testCanPlayMkv(videoTestElement) {
return true;
}
if (browser.firefox) {
// As of Firefox 145, its mkv support is buggy and causes playback issues because it would force preloading the
// whole mkv file before playback starts, which is extremely undesirable for streaming.
// See https://github.com/jellyfin/jellyfin/issues/15521
return false;
}
if (videoTestElement.canPlayType('video/x-matroska').replace(/no/, '')
|| videoTestElement.canPlayType('video/mkv').replace(/no/, '')) {
return true;