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

Disable fmp4 by default for Tizen and WebOS

This commit is contained in:
George Haidos 2024-05-25 21:54:40 +03:00
parent 7372e837ee
commit edd32297ee
No known key found for this signature in database

View file

@ -1,7 +1,7 @@
import appSettings from './appSettings';
import browser from '../browser';
import Events from '../../utils/events.ts';
import { toBoolean } from '../../utils/string.ts';
import browser from '../browser';
import appSettings from './appSettings';
function onSaveTimeout() {
const self = this;
@ -142,7 +142,7 @@ export class UserSettings {
}
// Enable it by default only for the platforms that play fMP4 for sure.
return toBoolean(this.get('preferFmp4HlsContainer', false), browser.safari || browser.firefox || browser.chrome || browser.edgeChromium);
return toBoolean(this.get('preferFmp4HlsContainer', false), browser.safari || browser.firefox || (browser.chrome && !browser.web0s && !browser.tizen) || browser.edgeChromium);
}
/**