mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-22 13:37:23 +00:00
fix(deps): update dependency shaka-player to v4.6.0 (#3143)
* fix(deps): update dependency shaka-player to v4.6.0 * Migrate to attach api. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kavin <20838718+FireMasterK@users.noreply.github.com>
This commit is contained in:
parent
60ab948aad
commit
acb4cc0588
@ -22,7 +22,7 @@
|
||||
"linkifyjs": "4.1.2",
|
||||
"mux.js": "6.3.0",
|
||||
"qrcode": "^1.5.3",
|
||||
"shaka-player": "4.5.0",
|
||||
"shaka-player": "4.6.0",
|
||||
"stream-browserify": "3.0.0",
|
||||
"vue": "3.3.8",
|
||||
"vue-i18n": "9.7.0",
|
||||
|
@ -42,8 +42,8 @@ dependencies:
|
||||
specifier: ^1.5.3
|
||||
version: 1.5.3
|
||||
shaka-player:
|
||||
specifier: 4.5.0
|
||||
version: 4.5.0
|
||||
specifier: 4.6.0
|
||||
version: 4.6.0
|
||||
stream-browserify:
|
||||
specifier: 3.0.0
|
||||
version: 3.0.0
|
||||
@ -4579,8 +4579,8 @@ packages:
|
||||
has-property-descriptors: 1.0.1
|
||||
dev: true
|
||||
|
||||
/shaka-player@4.5.0:
|
||||
resolution: {integrity: sha512-fEy4AW3lQQboOzpn0mJfCoVQ+T0sl8VZ+CWfa6w/6nsY+4z8i8dtQf1raihDYqY5vNvSmjYFrFVqE6iulUYMGg==}
|
||||
/shaka-player@4.6.0:
|
||||
resolution: {integrity: sha512-uwSQGrGU6cUYuTUyEpxsn+F1WdQJWo66+jJaOqFLjXwKBpr5zOTvRWg5rHfHp+MGu/CoNfLqQac7Cs8qEuQoOQ==}
|
||||
engines: {node: '>=14'}
|
||||
dependencies:
|
||||
eme-encryption-scheme-polyfill: 2.1.1
|
||||
|
@ -333,11 +333,12 @@ export default {
|
||||
}
|
||||
|
||||
if (noPrevPlayer)
|
||||
this.shakaPromise.then(() => {
|
||||
this.shakaPromise.then(async () => {
|
||||
if (this.destroying) return;
|
||||
this.$shaka.polyfill.installAll();
|
||||
|
||||
const localPlayer = new this.$shaka.Player(videoEl);
|
||||
const localPlayer = new this.$shaka.Player();
|
||||
await localPlayer.attach(videoEl);
|
||||
const proxyURL = new URL(component.video.proxyUrl);
|
||||
let proxyPath = proxyURL.pathname;
|
||||
if (proxyPath.lastIndexOf("/") === proxyPath.length - 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user