@kkcompany/player 2.9.20 → 2.9.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/core.mjs +5 -2
- package/dist/index.js +1700 -903
- package/dist/index.mjs +9 -5
- package/dist/modules.mjs +2 -2
- package/dist/react.mjs +10 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.9.22](https://gitlab.kkinternal.com/playback/web-playcraft/compare/v2.9.20...v2.9.22) (2025-10-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* set preferredKeySystems before loading new source ([7ba983c](https://gitlab.kkinternal.com/playback/web-playcraft/commit/7ba983cc924161b5a9eb2f669d3d510a79e0ea10))
|
|
11
|
+
|
|
5
12
|
### [2.9.20](https://gitlab.kkinternal.com/playback/web-playcraft/compare/v2.9.19...v2.9.20) (2025-09-10)
|
|
6
13
|
|
|
7
14
|
|
package/dist/core.mjs
CHANGED
|
@@ -56,7 +56,7 @@ const waitFor = (check, handler) => {
|
|
|
56
56
|
function getVersion() {
|
|
57
57
|
try {
|
|
58
58
|
// eslint-disable-next-line no-undef
|
|
59
|
-
return "2.9.
|
|
59
|
+
return "2.9.22";
|
|
60
60
|
} catch (e) {
|
|
61
61
|
return undefined;
|
|
62
62
|
}
|
|
@@ -8085,6 +8085,7 @@ const seek = async (media, {
|
|
|
8085
8085
|
const load = async (media, {
|
|
8086
8086
|
player,
|
|
8087
8087
|
startTime,
|
|
8088
|
+
playerOptions,
|
|
8088
8089
|
plugins = []
|
|
8089
8090
|
}, source) => {
|
|
8090
8091
|
const preferManifestType = needNativeHls() ? 'hls' : 'dash';
|
|
@@ -8173,7 +8174,9 @@ const load = async (media, {
|
|
|
8173
8174
|
});
|
|
8174
8175
|
const [drmOptions, extensions] = getDrmOptions(preferred);
|
|
8175
8176
|
player.configure({
|
|
8176
|
-
drm:
|
|
8177
|
+
drm: { ...playerOptions,
|
|
8178
|
+
...drmOptions
|
|
8179
|
+
}
|
|
8177
8180
|
});
|
|
8178
8181
|
player.configureExtensions(extensions);
|
|
8179
8182
|
let loadStartTime;
|