mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
4b0f62593f
commit
8d12419c5e
15 changed files with 63 additions and 31 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hls.js",
|
"name": "hls.js",
|
||||||
"version": "0.5.27",
|
"version": "0.5.29",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"description": "Media Source Extension - HLS library, by/for Dailymotion",
|
"description": "Media Source Extension - HLS library, by/for Dailymotion",
|
||||||
"homepage": "https://github.com/dailymotion/hls.js",
|
"homepage": "https://github.com/dailymotion/hls.js",
|
||||||
|
@ -16,11 +16,11 @@
|
||||||
"test",
|
"test",
|
||||||
"tests"
|
"tests"
|
||||||
],
|
],
|
||||||
"_release": "0.5.27",
|
"_release": "0.5.29",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v0.5.27",
|
"tag": "v0.5.29",
|
||||||
"commit": "03ebf357648136a98a4b87023d3900a79a31aed2"
|
"commit": "d787e32fed3a72930f4f94f08dce8692dcec0755"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/dailymotion/hls.js.git",
|
"_source": "git://github.com/dailymotion/hls.js.git",
|
||||||
"_target": "~0.5.7",
|
"_target": "~0.5.7",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hls.js",
|
"name": "hls.js",
|
||||||
"version": "0.5.27",
|
"version": "0.5.29",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"description": "Media Source Extension - HLS library, by/for Dailymotion",
|
"description": "Media Source Extension - HLS library, by/for Dailymotion",
|
||||||
"homepage": "https://github.com/dailymotion/hls.js",
|
"homepage": "https://github.com/dailymotion/hls.js",
|
||||||
|
|
18
dashboard-ui/bower_components/hls.js/dist/hls.js
vendored
18
dashboard-ui/bower_components/hls.js/dist/hls.js
vendored
|
@ -2562,7 +2562,7 @@ var StreamController = function (_EventHandler) {
|
||||||
this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.BUFFER_STALLED_ERROR, fatal: false });
|
this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.BUFFER_STALLED_ERROR, fatal: false });
|
||||||
this.stalled = true;
|
this.stalled = true;
|
||||||
} else {
|
} else {
|
||||||
this.seekHoleNudgeDuration += this.config.SeekHoleNudgeDuration;
|
this.seekHoleNudgeDuration += this.config.seekHoleNudgeDuration;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// if we are below threshold, try to jump if next buffer range is close
|
// if we are below threshold, try to jump if next buffer range is close
|
||||||
|
@ -6342,6 +6342,17 @@ var PlaylistLoader = function (_EventHandler) {
|
||||||
retry,
|
retry,
|
||||||
timeout,
|
timeout,
|
||||||
retryDelay;
|
retryDelay;
|
||||||
|
|
||||||
|
if (this.loading && this.loader) {
|
||||||
|
if (this.url === url && this.id === id1 && this.id2 === id2) {
|
||||||
|
// same request than last pending one, don't do anything
|
||||||
|
return;
|
||||||
|
} else {
|
||||||
|
// one playlist load request is pending, but with different params, abort it before loading new playlist
|
||||||
|
this.loader.abort();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.url = url;
|
this.url = url;
|
||||||
this.id = id1;
|
this.id = id1;
|
||||||
this.id2 = id2;
|
this.id2 = id2;
|
||||||
|
@ -6355,6 +6366,7 @@ var PlaylistLoader = function (_EventHandler) {
|
||||||
retryDelay = config.levelLoadingRetryDelay;
|
retryDelay = config.levelLoadingRetryDelay;
|
||||||
}
|
}
|
||||||
this.loader = typeof config.pLoader !== 'undefined' ? new config.pLoader(config) : new config.loader(config);
|
this.loader = typeof config.pLoader !== 'undefined' ? new config.pLoader(config) : new config.loader(config);
|
||||||
|
this.loading = true;
|
||||||
this.loader.load(url, '', this.loadsuccess.bind(this), this.loaderror.bind(this), this.loadtimeout.bind(this), timeout, retry, retryDelay);
|
this.loader.load(url, '', this.loadsuccess.bind(this), this.loaderror.bind(this), this.loadtimeout.bind(this), timeout, retry, retryDelay);
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
@ -6536,6 +6548,8 @@ var PlaylistLoader = function (_EventHandler) {
|
||||||
id2 = this.id2,
|
id2 = this.id2,
|
||||||
hls = this.hls,
|
hls = this.hls,
|
||||||
levels;
|
levels;
|
||||||
|
|
||||||
|
this.loading = false;
|
||||||
// responseURL not supported on some browsers (it is used to detect URL redirection)
|
// responseURL not supported on some browsers (it is used to detect URL redirection)
|
||||||
if (url === undefined) {
|
if (url === undefined) {
|
||||||
// fallback to initial URL
|
// fallback to initial URL
|
||||||
|
@ -6582,6 +6596,7 @@ var PlaylistLoader = function (_EventHandler) {
|
||||||
if (this.loader) {
|
if (this.loader) {
|
||||||
this.loader.abort();
|
this.loader.abort();
|
||||||
}
|
}
|
||||||
|
this.loading = false;
|
||||||
this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.NETWORK_ERROR, details: details, fatal: fatal, url: this.url, loader: this.loader, response: event.currentTarget, level: this.id, id: this.id2 });
|
this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.NETWORK_ERROR, details: details, fatal: fatal, url: this.url, loader: this.loader, response: event.currentTarget, level: this.id, id: this.id2 });
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
@ -6598,6 +6613,7 @@ var PlaylistLoader = function (_EventHandler) {
|
||||||
if (this.loader) {
|
if (this.loader) {
|
||||||
this.loader.abort();
|
this.loader.abort();
|
||||||
}
|
}
|
||||||
|
this.loading = false;
|
||||||
this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.NETWORK_ERROR, details: details, fatal: fatal, url: this.url, loader: this.loader, level: this.id, id: this.id2 });
|
this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.NETWORK_ERROR, details: details, fatal: fatal, url: this.url, loader: this.loader, level: this.id, id: this.id2 });
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hls.js",
|
"name": "hls.js",
|
||||||
"version": "0.5.27",
|
"version": "0.5.29",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"description": "Media Source Extension - HLS library, by/for Dailymotion",
|
"description": "Media Source Extension - HLS library, by/for Dailymotion",
|
||||||
"homepage": "https://github.com/dailymotion/hls.js",
|
"homepage": "https://github.com/dailymotion/hls.js",
|
||||||
|
|
|
@ -1044,7 +1044,7 @@ _checkBuffer() {
|
||||||
this.hls.trigger(Event.ERROR, {type: ErrorTypes.MEDIA_ERROR, details: ErrorDetails.BUFFER_STALLED_ERROR, fatal: false});
|
this.hls.trigger(Event.ERROR, {type: ErrorTypes.MEDIA_ERROR, details: ErrorDetails.BUFFER_STALLED_ERROR, fatal: false});
|
||||||
this.stalled = true;
|
this.stalled = true;
|
||||||
} else {
|
} else {
|
||||||
this.seekHoleNudgeDuration += this.config.SeekHoleNudgeDuration;
|
this.seekHoleNudgeDuration += this.config.seekHoleNudgeDuration;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// if we are below threshold, try to jump if next buffer range is close
|
// if we are below threshold, try to jump if next buffer range is close
|
||||||
|
|
|
@ -39,6 +39,17 @@ class PlaylistLoader extends EventHandler {
|
||||||
retry,
|
retry,
|
||||||
timeout,
|
timeout,
|
||||||
retryDelay;
|
retryDelay;
|
||||||
|
|
||||||
|
if (this.loading && this.loader) {
|
||||||
|
if (this.url === url && this.id === id1 && this.id2 === id2) {
|
||||||
|
// same request than last pending one, don't do anything
|
||||||
|
return;
|
||||||
|
} else {
|
||||||
|
// one playlist load request is pending, but with different params, abort it before loading new playlist
|
||||||
|
this.loader.abort();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.url = url;
|
this.url = url;
|
||||||
this.id = id1;
|
this.id = id1;
|
||||||
this.id2 = id2;
|
this.id2 = id2;
|
||||||
|
@ -52,6 +63,7 @@ class PlaylistLoader extends EventHandler {
|
||||||
retryDelay = config.levelLoadingRetryDelay;
|
retryDelay = config.levelLoadingRetryDelay;
|
||||||
}
|
}
|
||||||
this.loader = typeof(config.pLoader) !== 'undefined' ? new config.pLoader(config) : new config.loader(config);
|
this.loader = typeof(config.pLoader) !== 'undefined' ? new config.pLoader(config) : new config.loader(config);
|
||||||
|
this.loading = true;
|
||||||
this.loader.load(url, '', this.loadsuccess.bind(this), this.loaderror.bind(this), this.loadtimeout.bind(this), timeout, retry, retryDelay);
|
this.loader.load(url, '', this.loadsuccess.bind(this), this.loaderror.bind(this), this.loadtimeout.bind(this), timeout, retry, retryDelay);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -223,6 +235,8 @@ class PlaylistLoader extends EventHandler {
|
||||||
id2 = this.id2,
|
id2 = this.id2,
|
||||||
hls = this.hls,
|
hls = this.hls,
|
||||||
levels;
|
levels;
|
||||||
|
|
||||||
|
this.loading = false;
|
||||||
// responseURL not supported on some browsers (it is used to detect URL redirection)
|
// responseURL not supported on some browsers (it is used to detect URL redirection)
|
||||||
if (url === undefined) {
|
if (url === undefined) {
|
||||||
// fallback to initial URL
|
// fallback to initial URL
|
||||||
|
@ -268,6 +282,7 @@ class PlaylistLoader extends EventHandler {
|
||||||
if (this.loader) {
|
if (this.loader) {
|
||||||
this.loader.abort();
|
this.loader.abort();
|
||||||
}
|
}
|
||||||
|
this.loading = false;
|
||||||
this.hls.trigger(Event.ERROR, {type: ErrorTypes.NETWORK_ERROR, details: details, fatal: fatal, url: this.url, loader: this.loader, response: event.currentTarget, level: this.id, id: this.id2});
|
this.hls.trigger(Event.ERROR, {type: ErrorTypes.NETWORK_ERROR, details: details, fatal: fatal, url: this.url, loader: this.loader, response: event.currentTarget, level: this.id, id: this.id2});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -283,6 +298,7 @@ class PlaylistLoader extends EventHandler {
|
||||||
if (this.loader) {
|
if (this.loader) {
|
||||||
this.loader.abort();
|
this.loader.abort();
|
||||||
}
|
}
|
||||||
|
this.loading = false;
|
||||||
this.hls.trigger(Event.ERROR, {type: ErrorTypes.NETWORK_ERROR, details: details, fatal: fatal, url: this.url, loader: this.loader, level: this.id, id: this.id2});
|
this.hls.trigger(Event.ERROR, {type: ErrorTypes.NETWORK_ERROR, details: details, fatal: fatal, url: this.url, loader: this.loader, level: this.id, id: this.id2});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,14 +32,14 @@
|
||||||
"web-component-tester": "^4.0.0",
|
"web-component-tester": "^4.0.0",
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.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",
|
"_release": "1.0.8",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.8",
|
"tag": "v1.0.8",
|
||||||
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/iron-icon.git",
|
"_source": "git://github.com/PolymerElements/iron-icon.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/iron-icon"
|
"_originalSource": "PolymerElements/iron-icon"
|
||||||
}
|
}
|
|
@ -26,14 +26,14 @@
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"main": "iron-meta.html",
|
"main": "iron-meta.html",
|
||||||
"homepage": "https://github.com/PolymerElements/iron-meta",
|
"homepage": "https://github.com/polymerelements/iron-meta",
|
||||||
"_release": "1.1.1",
|
"_release": "1.1.1",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.1.1",
|
"tag": "v1.1.1",
|
||||||
"commit": "e171ee234b482219c9514e6f9551df48ef48bd9f"
|
"commit": "e171ee234b482219c9514e6f9551df48ef48bd9f"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/iron-meta.git",
|
"_source": "git://github.com/polymerelements/iron-meta.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "PolymerElements/iron-meta"
|
"_originalSource": "polymerelements/iron-meta"
|
||||||
}
|
}
|
|
@ -36,7 +36,7 @@
|
||||||
"tag": "v1.5.0",
|
"tag": "v1.5.0",
|
||||||
"commit": "c7402274efa2e3b2a905ffa25d70c2ff3309dc59"
|
"commit": "c7402274efa2e3b2a905ffa25d70c2ff3309dc59"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/iron-selector.git",
|
"_source": "git://github.com/PolymerElements/iron-selector.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/iron-selector"
|
"_originalSource": "PolymerElements/iron-selector"
|
||||||
}
|
}
|
|
@ -45,7 +45,7 @@
|
||||||
"tag": "v1.0.11",
|
"tag": "v1.0.11",
|
||||||
"commit": "e3c1ab0c72905b58fb4d9adc2921ea73b5c085a5"
|
"commit": "e3c1ab0c72905b58fb4d9adc2921ea73b5c085a5"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/paper-behaviors.git",
|
"_source": "git://github.com/PolymerElements/paper-behaviors.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/paper-behaviors"
|
"_originalSource": "PolymerElements/paper-behaviors"
|
||||||
}
|
}
|
|
@ -54,7 +54,7 @@
|
||||||
"tag": "v1.1.11",
|
"tag": "v1.1.11",
|
||||||
"commit": "8cfe5c5bf8c2e40d243443d046a94b6fe371983c"
|
"commit": "8cfe5c5bf8c2e40d243443d046a94b6fe371983c"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/paper-input.git",
|
"_source": "git://github.com/PolymerElements/paper-input.git",
|
||||||
"_target": "^1.0.9",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/paper-input"
|
"_originalSource": "PolymerElements/paper-input"
|
||||||
}
|
}
|
|
@ -38,7 +38,7 @@
|
||||||
"tag": "v1.0.6",
|
"tag": "v1.0.6",
|
||||||
"commit": "6aef0896fcbc25f9f5bd1dd55f7679e6ab7f92ad"
|
"commit": "6aef0896fcbc25f9f5bd1dd55f7679e6ab7f92ad"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/paper-material.git",
|
"_source": "git://github.com/PolymerElements/paper-material.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/paper-material"
|
"_originalSource": "PolymerElements/paper-material"
|
||||||
}
|
}
|
|
@ -32,14 +32,14 @@
|
||||||
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0"
|
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0"
|
||||||
},
|
},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"homepage": "https://github.com/polymerelements/paper-ripple",
|
"homepage": "https://github.com/PolymerElements/paper-ripple",
|
||||||
"_release": "1.0.5",
|
"_release": "1.0.5",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.5",
|
"tag": "v1.0.5",
|
||||||
"commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5"
|
"commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/paper-ripple.git",
|
"_source": "git://github.com/PolymerElements/paper-ripple.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/paper-ripple"
|
"_originalSource": "PolymerElements/paper-ripple"
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue