Browse Source

Update @core-player+playcore-hls+0.1.1.patch

lex 1 year ago
parent
commit
73ae28bb34
1 changed files with 14 additions and 0 deletions
  1. 14 0
      patches/@core-player+playcore-hls+0.1.1.patch

+ 14 - 0
patches/@core-player+playcore-hls+0.1.1.patch

@@ -1,3 +1,17 @@
+diff --git a/node_modules/@core-player/playcore-hls/dist/playcore-hls.common.js b/node_modules/@core-player/playcore-hls/dist/playcore-hls.common.js
+index 55249ff..2d82872 100644
+--- a/node_modules/@core-player/playcore-hls/dist/playcore-hls.common.js
++++ b/node_modules/@core-player/playcore-hls/dist/playcore-hls.common.js
+@@ -8840,7 +8840,8 @@ const isChrome = /chrome/i.test(ua);
+ const isWechat = /MicroMessenger/i.test(ua);
+ const isFirefox = /firefox/i.test(ua);
+ // CONCATENATED MODULE: ./src/constants.js
+-const HLS_SDK = 'https://cdn.jsdelivr.net/npm/hls.js@latest';
++// const HLS_SDK = 'https://cdn.jsdelivr.net/npm/hls.js@latest';
++const HLS_SDK = 'https://web.sdk.qcloud.com/player/tcplayer/release/v4.2.1/libs/hls.min.0.13.2m.js';
+ const LOAD_SDK_TIMEOUT = 60 * 1000;
+ const DEFAULT_HLS_RESOLUTION = 1080;
+ const HLS_DEFAULT_CONFIG = {
 diff --git a/node_modules/@core-player/playcore-hls/src/constants.js b/node_modules/@core-player/playcore-hls/src/constants.js
 diff --git a/node_modules/@core-player/playcore-hls/src/constants.js b/node_modules/@core-player/playcore-hls/src/constants.js
 index 1606f11..6643f5e 100644
 index 1606f11..6643f5e 100644
 --- a/node_modules/@core-player/playcore-hls/src/constants.js
 --- a/node_modules/@core-player/playcore-hls/src/constants.js