mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #1146 from JustAMan/webos2-play
Fix some issues blocking WebOS 1.2 / 2.0
This commit is contained in:
commit
c23e301e32
10 changed files with 24 additions and 19 deletions
|
@ -22,7 +22,7 @@ define([], function () {
|
|||
return true;
|
||||
}
|
||||
|
||||
if (userAgent.indexOf('webos') !== -1) {
|
||||
if (userAgent.indexOf('web0s') !== -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -887,6 +887,16 @@ define(['browser'], function (browser) {
|
|||
Method: 'External'
|
||||
});
|
||||
}
|
||||
if (options.enableSsaRender) {
|
||||
profile.SubtitleProfiles.push({
|
||||
Format: 'ass',
|
||||
Method: 'External'
|
||||
});
|
||||
profile.SubtitleProfiles.push({
|
||||
Format: 'ssa',
|
||||
Method: 'External'
|
||||
});
|
||||
}
|
||||
|
||||
profile.ResponseProfiles = [];
|
||||
profile.ResponseProfiles.push({
|
||||
|
|
|
@ -11,5 +11,8 @@ function getConfig() {
|
|||
export function enableMultiServer() {
|
||||
return getConfig().then(config => {
|
||||
return config.multiserver;
|
||||
}).catch(error => {
|
||||
console.log("cannot get web config:", error);
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
|
|
@ -709,6 +709,7 @@ var AppInfo = {};
|
|||
onError: onRequireJsError
|
||||
});
|
||||
|
||||
require(["fetch"]);
|
||||
require(["polyfill"]);
|
||||
require(["fast-text-encoding"]);
|
||||
require(["intersection-observer"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue