@kkcompany/player 2.25.0-canary.13 → 2.25.0-canary.14
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 +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +4 -2
- package/dist/modules.mjs +2 -2
- package/dist/react.mjs +5 -3
- package/package.json +1 -1
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.25.0-canary.14](https://gitlab.kkinternal.com/playback/web-playcraft/compare/v2.25.0-canary.13...v2.25.0-canary.14) (2025-12-12)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* override track display name in language menu ([b9e2d83](https://gitlab.kkinternal.com/playback/web-playcraft/commit/b9e2d83ec3a79bc3f09622fb3a6e02bd562f90b6))
|
|
11
|
+
|
|
5
12
|
## [2.25.0-canary.13](https://gitlab.kkinternal.com/playback/web-playcraft/compare/v2.25.0-canary.12...v2.25.0-canary.13) (2025-12-12)
|
|
6
13
|
|
|
7
14
|
|
package/dist/core.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -5746,7 +5746,7 @@ $$4({ target: 'Array', proto: true, forced: FORCED }, {
|
|
|
5746
5746
|
function getVersion() {
|
|
5747
5747
|
try {
|
|
5748
5748
|
// eslint-disable-next-line no-undef
|
|
5749
|
-
return "2.25.0-canary.
|
|
5749
|
+
return "2.25.0-canary.14";
|
|
5750
5750
|
} catch (e) {
|
|
5751
5751
|
return undefined;
|
|
5752
5752
|
}
|
|
@@ -6039,7 +6039,7 @@ const getSettingsData = _ref8 => {
|
|
|
6039
6039
|
};
|
|
6040
6040
|
};
|
|
6041
6041
|
|
|
6042
|
-
const matchTracks = (tracks, sorted) => (sorted === null || sorted === void 0 ? void 0 : sorted.map(track => tracks.find(t => t.language === track.language)).filter(Boolean)) || tracks;
|
|
6042
|
+
const matchTracks = (tracks, sorted) => (sorted === null || sorted === void 0 ? void 0 : sorted.map(track => _objectSpread$p(_objectSpread$p({}, tracks.find(t => t.language === track.language)), track)).filter(Boolean)) || tracks;
|
|
6043
6043
|
|
|
6044
6044
|
const getLanguageOptions = (player, sorted) => {
|
|
6045
6045
|
const audioTracks = player ? getAudioTracks({}, {
|
package/dist/index.mjs
CHANGED
|
@@ -812,7 +812,7 @@ function convertToSeconds(timeString) {
|
|
|
812
812
|
function getVersion() {
|
|
813
813
|
try {
|
|
814
814
|
// eslint-disable-next-line no-undef
|
|
815
|
-
return "2.25.0-canary.
|
|
815
|
+
return "2.25.0-canary.14";
|
|
816
816
|
} catch (e) {
|
|
817
817
|
return undefined;
|
|
818
818
|
}
|
|
@@ -1093,7 +1093,9 @@ const getSettingsData = ({
|
|
|
1093
1093
|
};
|
|
1094
1094
|
};
|
|
1095
1095
|
|
|
1096
|
-
const matchTracks = (tracks, sorted) => (sorted === null || sorted === void 0 ? void 0 : sorted.map(track => tracks.find(t => t.language === track.language)
|
|
1096
|
+
const matchTracks = (tracks, sorted) => (sorted === null || sorted === void 0 ? void 0 : sorted.map(track => ({ ...tracks.find(t => t.language === track.language),
|
|
1097
|
+
...track
|
|
1098
|
+
})).filter(Boolean)) || tracks;
|
|
1097
1099
|
|
|
1098
1100
|
const getLanguageOptions = (player, sorted) => {
|
|
1099
1101
|
const audioTracks = player ? getAudioTracks({}, {
|
package/dist/modules.mjs
CHANGED
|
@@ -991,7 +991,7 @@ const mapLogEvents$1 = ({
|
|
|
991
991
|
function getVersion() {
|
|
992
992
|
try {
|
|
993
993
|
// eslint-disable-next-line no-undef
|
|
994
|
-
return "2.25.0-canary.
|
|
994
|
+
return "2.25.0-canary.14";
|
|
995
995
|
} catch (e) {
|
|
996
996
|
return undefined;
|
|
997
997
|
}
|
|
@@ -1413,7 +1413,7 @@ const createAnalytics = ({
|
|
|
1413
1413
|
const logTarget = mapLogEvents({
|
|
1414
1414
|
video,
|
|
1415
1415
|
playerName: 'shaka',
|
|
1416
|
-
version: "2.25.0-canary.
|
|
1416
|
+
version: "2.25.0-canary.14"
|
|
1417
1417
|
});
|
|
1418
1418
|
logTarget.all((type, data) => {
|
|
1419
1419
|
const payload = {
|
package/dist/react.mjs
CHANGED
|
@@ -2420,7 +2420,7 @@ function convertToSeconds(timeString) {
|
|
|
2420
2420
|
function getVersion() {
|
|
2421
2421
|
try {
|
|
2422
2422
|
// eslint-disable-next-line no-undef
|
|
2423
|
-
return "2.25.0-canary.
|
|
2423
|
+
return "2.25.0-canary.14";
|
|
2424
2424
|
} catch (e) {
|
|
2425
2425
|
return undefined;
|
|
2426
2426
|
}
|
|
@@ -8386,7 +8386,9 @@ const getSettingsData = ({
|
|
|
8386
8386
|
};
|
|
8387
8387
|
};
|
|
8388
8388
|
|
|
8389
|
-
const matchTracks = (tracks, sorted) => (sorted === null || sorted === void 0 ? void 0 : sorted.map(track => tracks.find(t => t.language === track.language)
|
|
8389
|
+
const matchTracks = (tracks, sorted) => (sorted === null || sorted === void 0 ? void 0 : sorted.map(track => ({ ...tracks.find(t => t.language === track.language),
|
|
8390
|
+
...track
|
|
8391
|
+
})).filter(Boolean)) || tracks;
|
|
8390
8392
|
|
|
8391
8393
|
const getLanguageOptions = (player, sorted) => {
|
|
8392
8394
|
const audioTracks = player ? getAudioTracks({}, {
|
|
@@ -11109,7 +11111,7 @@ const PremiumPlusPlayer = ({
|
|
|
11109
11111
|
const restPlayerName = ['shaka', 'bitmovin'].find(name => name in rest);
|
|
11110
11112
|
logTarget.current = mapLogEvents({
|
|
11111
11113
|
playerName: restPlayerName || 'shaka',
|
|
11112
|
-
version: "2.25.0-canary.
|
|
11114
|
+
version: "2.25.0-canary.14",
|
|
11113
11115
|
video: videoRef.current,
|
|
11114
11116
|
getPlaybackStatus: () => getMediaTime(videoRef.current, {
|
|
11115
11117
|
player: corePlayerRef.current,
|