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:
parent
7372e837ee
commit
edd32297ee
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue