mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
update components
This commit is contained in:
parent
d1af4dc894
commit
3c2d0cd3a1
@ -16,15 +16,14 @@
|
||||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.2.0",
|
||||
"_release": "1.2.0",
|
||||
"version": "1.2.1",
|
||||
"_release": "1.2.1",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.2.0",
|
||||
"commit": "7bd7723824e9724b1caf23f4b73509084eae4e46"
|
||||
"tag": "1.2.1",
|
||||
"commit": "44c0d907dc06ccc317c008d78b06ae365358560a"
|
||||
},
|
||||
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "^1.2.0",
|
||||
"_originalSource": "emby-webcomponents",
|
||||
"_direct": true
|
||||
"_originalSource": "emby-webcomponents"
|
||||
}
|
@ -160,8 +160,9 @@ define(['browser'], function (browser) {
|
||||
return 100000000;
|
||||
}
|
||||
|
||||
return function () {
|
||||
return function (options) {
|
||||
|
||||
options = options || {};
|
||||
var bitrateSetting = getMaxBitrate();
|
||||
|
||||
var videoTestElement = document.createElement('video');
|
||||
@ -288,7 +289,7 @@ define(['browser'], function (browser) {
|
||||
});
|
||||
|
||||
// Can't use mkv on mobile because we have to use the native player controls and they won't be able to seek it
|
||||
if (canPlayMkv && !browser.mobile) {
|
||||
if (canPlayMkv && options.supportsAutoPlay) {
|
||||
profile.TranscodingProfiles.push({
|
||||
Container: 'mkv',
|
||||
Type: 'Video',
|
||||
@ -318,7 +319,8 @@ define(['browser'], function (browser) {
|
||||
VideoCodec: 'h264',
|
||||
Context: 'Streaming',
|
||||
Protocol: 'hls',
|
||||
ForceLiveStream: true
|
||||
// Can't use this when autoplay is not supported
|
||||
ForceLiveStream: options.supportsAutoPlay ? true : false
|
||||
});
|
||||
}
|
||||
|
||||
@ -469,5 +471,5 @@ define(['browser'], function (browser) {
|
||||
});
|
||||
|
||||
return profile;
|
||||
}();
|
||||
};
|
||||
});
|
@ -97,9 +97,15 @@ define(['cryptojs-md5'], function () {
|
||||
}
|
||||
|
||||
fileEntry.file(function (file) {
|
||||
var elapsed = new Date().getTime() - file.lastModifiedDate.getTime();
|
||||
// 60 days
|
||||
var maxElapsed = 5184000000;
|
||||
|
||||
var lastModifiedDate = file.lastModifiedDate;
|
||||
if (!lastModifiedDate) {
|
||||
lastModifiedDate = fileEntry.getMetadata().lastModifiedDate;
|
||||
}
|
||||
|
||||
var elapsed = new Date().getTime() - lastModifiedDate.getTime();
|
||||
// 45 days
|
||||
var maxElapsed = 3888000000;
|
||||
if (elapsed >= maxElapsed) {
|
||||
|
||||
var fullPath = fileEntry.fullPath;
|
||||
|
@ -32,14 +32,14 @@
|
||||
"web-component-tester": "^4.0.0",
|
||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"homepage": "https://github.com/polymerelements/iron-icon",
|
||||
"homepage": "https://github.com/PolymerElements/iron-icon",
|
||||
"_release": "1.0.8",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.8",
|
||||
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
||||
},
|
||||
"_source": "git://github.com/polymerelements/iron-icon.git",
|
||||
"_source": "git://github.com/PolymerElements/iron-icon.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "polymerelements/iron-icon"
|
||||
"_originalSource": "PolymerElements/iron-icon"
|
||||
}
|
@ -36,7 +36,7 @@
|
||||
"tag": "v1.3.0",
|
||||
"commit": "1662093611cda3fd29125cdab94a61d3d88093da"
|
||||
},
|
||||
"_source": "git://github.com/polymerelements/iron-selector.git",
|
||||
"_source": "git://github.com/PolymerElements/iron-selector.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "polymerelements/iron-selector"
|
||||
"_originalSource": "PolymerElements/iron-selector"
|
||||
}
|
@ -45,7 +45,7 @@
|
||||
"tag": "v1.0.11",
|
||||
"commit": "e3c1ab0c72905b58fb4d9adc2921ea73b5c085a5"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/paper-behaviors.git",
|
||||
"_source": "git://github.com/polymerelements/paper-behaviors.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "PolymerElements/paper-behaviors"
|
||||
"_originalSource": "polymerelements/paper-behaviors"
|
||||
}
|
@ -32,14 +32,14 @@
|
||||
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0"
|
||||
},
|
||||
"ignore": [],
|
||||
"homepage": "https://github.com/PolymerElements/paper-ripple",
|
||||
"homepage": "https://github.com/polymerelements/paper-ripple",
|
||||
"_release": "1.0.5",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.5",
|
||||
"commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/paper-ripple.git",
|
||||
"_source": "git://github.com/polymerelements/paper-ripple.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "PolymerElements/paper-ripple"
|
||||
"_originalSource": "polymerelements/paper-ripple"
|
||||
}
|
@ -196,7 +196,11 @@ define(['appSettings', 'userSettings', 'appStorage'], function (appSettings, use
|
||||
|
||||
return new Promise(function (resolve, reject) {
|
||||
|
||||
require(['browserdeviceprofile', 'qualityoptions'], function (profile, qualityoptions) {
|
||||
require(['browserdeviceprofile', 'qualityoptions'], function (profileBuilder, qualityoptions) {
|
||||
|
||||
var profile = profileBuilder({
|
||||
supportsAutoPlay: !browserInfo.mobile || AppInfo.isNativeApp
|
||||
});
|
||||
|
||||
var bitrateSetting = appSettings.maxStreamingBitrate();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user