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

Allow VP9 remuxing for chrome and firefox

Have tested with HLS.js on those clients and works well in fMP4 container
This commit is contained in:
gnattu 2024-09-14 18:03:19 +08:00
parent 48e45cf52c
commit b2dc11b231

View file

@ -667,7 +667,7 @@ export default function (options) {
// Only iOS Safari's native HLS player understands vp9 in fmp4 // Only iOS Safari's native HLS player understands vp9 in fmp4
// This should be used in conjunction with forcing // This should be used in conjunction with forcing
// using HLS.js for VP9 remuxing on desktop Safari. // using HLS.js for VP9 remuxing on desktop Safari.
if (browser.safari) { if (browser.safari || browser.edgeChromium || browser.chrome || browser.firefox) {
hlsInFmp4VideoCodecs.push('vp9'); hlsInFmp4VideoCodecs.push('vp9');
} }
// webm support is unreliable on safari 17 // webm support is unreliable on safari 17