1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add Firefox 134+ to list of HEVC-supporting browsers (#5876)

* Add Firefox 121+ to list of HEVC-supporting browsers

Mozilla implemented support for HEVC decoding using WMF on Windows. Support for HEVC playback is being tested anyway using the canPlayHevc() function, so this should be a safe change for other operating systems (or systems without hardware HEVC decoding) as well.

Fixes #5706

* Raise minimum Firefox version to 132 for HEVC playback

HEVC 10bit was broken before, but the support seems to be mores table now

* Raise minimum Firefox version to 134 for HEVC playback

Support is now officially supported as per version 134

Co-authored-by: gnattu <gnattu@users.noreply.github.com>

---------

Co-authored-by: gnattu <gnattu@users.noreply.github.com>
This commit is contained in:
Fabian Wünderich 2025-02-13 18:57:05 +01:00 committed by GitHub
parent 218912dffd
commit 973ac5f329
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -651,7 +651,7 @@ export default function (options) {
}
if (canPlayHevc(videoTestElement, options)
&& (browser.edgeChromium || browser.safari || browser.tizen || browser.web0s || (browser.chrome && (!browser.android || browser.versionMajor >= 105)) || (browser.opera && !browser.mobile))) {
&& (browser.edgeChromium || browser.safari || browser.tizen || browser.web0s || (browser.chrome && (!browser.android || browser.versionMajor >= 105)) || (browser.opera && !browser.mobile) || (browser.firefox && browser.versionMajor >= 134))) {
// Chromium used to support HEVC on Android but not via MSE
hlsInFmp4VideoCodecs.push('hevc');
}