@kkcompany/ott-player 0.5.7 → 0.5.9
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 -21
- package/dist/index.cjs +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,39 +2,25 @@
|
|
|
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
|
-
### [0.5.
|
|
6
|
-
|
|
7
|
-
### [0.5.6](https://gitlab.kkinternal.com/kks-web/blahaj/compare/player@0.5.5...player@0.5.6) (2026-07-10)
|
|
8
|
-
|
|
9
|
-
### [0.5.5](https://gitlab.kkinternal.com/kks-web/blahaj/compare/player@0.5.3...player@0.5.5) (2026-07-10)
|
|
10
|
-
|
|
11
|
-
### [0.5.3](https://gitlab.kkinternal.com/kks-web/blahaj/compare/player@0.5.2...player@0.5.3) (2026-07-03)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
### Features
|
|
15
|
-
|
|
16
|
-
* LinearEnd view is opt-it ([5afc85a](https://gitlab.kkinternal.com/kks-web/blahaj/commit/5afc85a386cf7bfeb166fd893a38a29151ea5265))
|
|
17
|
-
|
|
18
|
-
### [0.5.2](https://gitlab.kkinternal.com/kks-web/blahaj/compare/player@0.5.1...player@0.5.2) (2026-06-29)
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
### Features
|
|
22
|
-
|
|
23
|
-
* use release version of playcraft ([59240e1](https://gitlab.kkinternal.com/kks-web/blahaj/commit/59240e188c3426250316d1bdb840f58c5031f224))
|
|
24
|
-
|
|
25
|
-
### [0.5.1](https://gitlab.kkinternal.com/kks-web/blahaj/compare/player@0.5.0...player@0.5.1) (2026-06-24)
|
|
5
|
+
### [0.5.9](https://gitlab.kkinternal.com/kks-web/blahaj/compare/player@0.5.0...player@0.5.9) (2026-08-03)
|
|
26
6
|
|
|
27
7
|
|
|
28
8
|
### Features
|
|
29
9
|
|
|
30
10
|
* always update UI for live ([cd01e88](https://gitlab.kkinternal.com/kks-web/blahaj/commit/cd01e88f5e5d21b70dcc011486f522354822ef66))
|
|
11
|
+
* LinearEnd view is opt-it ([5afc85a](https://gitlab.kkinternal.com/kks-web/blahaj/commit/5afc85a386cf7bfeb166fd893a38a29151ea5265))
|
|
31
12
|
|
|
32
13
|
|
|
33
14
|
### Bug Fixes
|
|
34
15
|
|
|
16
|
+
* [SUN-1738] ([797c968](https://gitlab.kkinternal.com/kks-web/blahaj/commit/797c968a6c01462d79eef29281cee36dede4be36))
|
|
35
17
|
* [SUN-2999] derive banner currentPosition ([3a15929](https://gitlab.kkinternal.com/kks-web/blahaj/commit/3a15929328677b644f7c3f8d5897bb562e178b5c))
|
|
36
18
|
* [SUN-2999][SUN-3015] always render banner indicator ([d1488da](https://gitlab.kkinternal.com/kks-web/blahaj/commit/d1488dabf7de579f7c8442ec5aa3ae57b9d011c4))
|
|
19
|
+
* [SUN-5779] always update program metadata ([096a6ae](https://gitlab.kkinternal.com/kks-web/blahaj/commit/096a6ae956e76d5f54a0c8892c4e57658c819a39))
|
|
20
|
+
* [SUN-6234] ([8d3abec](https://gitlab.kkinternal.com/kks-web/blahaj/commit/8d3abeca07fac34356566596e389523a4af689a1))
|
|
37
21
|
* display channel title only when needed ([4d534b6](https://gitlab.kkinternal.com/kks-web/blahaj/commit/4d534b61f28c55f05374b5ca2a99d0c8e31b99f5))
|
|
22
|
+
* release v0.1.27 ([951dad5](https://gitlab.kkinternal.com/kks-web/blahaj/commit/951dad5ea3918ca8e5dcba7860abed3784d9841c))
|
|
23
|
+
* use default playback api error handling ([53652ee](https://gitlab.kkinternal.com/kks-web/blahaj/commit/53652ee2ec2b689303c0ffedc3a8a88f24ee24ca))
|
|
38
24
|
|
|
39
25
|
## [0.5.0](https://gitlab.kkinternal.com/kks-web/blahaj/compare/player@0.3.97...player@0.5.0) (2026-05-08)
|
|
40
26
|
|
package/dist/index.cjs
CHANGED
|
@@ -917,7 +917,7 @@ var preload_default = preload;
|
|
|
917
917
|
|
|
918
918
|
//#endregion
|
|
919
919
|
//#region package.json
|
|
920
|
-
var version = "0.5.
|
|
920
|
+
var version = "0.5.9";
|
|
921
921
|
|
|
922
922
|
//#endregion
|
|
923
923
|
//#region src/constants.js
|
|
@@ -1054,7 +1054,7 @@ const PremiumPlusPlayer = ({ controls, preload: preload$1 = "auto", preloadList
|
|
|
1054
1054
|
onChangeContent: (data) => {
|
|
1055
1055
|
onPlaybackApiResponse?.("content", data);
|
|
1056
1056
|
const currentContent = (0, __kkcompany_player_modules.getContentInfo)(data);
|
|
1057
|
-
|
|
1057
|
+
setContentData((prev) => prev.chapters?.length > 0 ? {
|
|
1058
1058
|
...currentContent,
|
|
1059
1059
|
chapters: prev.chapters
|
|
1060
1060
|
} : currentContent);
|
|
@@ -1297,7 +1297,7 @@ const preloadSession = ({ host, accessToken, deviceId, headers, params, contentT
|
|
|
1297
1297
|
deviceId,
|
|
1298
1298
|
headers,
|
|
1299
1299
|
params
|
|
1300
|
-
}
|
|
1300
|
+
}).startPlayback({
|
|
1301
1301
|
type: contentType,
|
|
1302
1302
|
id: contentId
|
|
1303
1303
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -893,7 +893,7 @@ var preload_default = preload;
|
|
|
893
893
|
|
|
894
894
|
//#endregion
|
|
895
895
|
//#region package.json
|
|
896
|
-
var version = "0.5.
|
|
896
|
+
var version = "0.5.9";
|
|
897
897
|
|
|
898
898
|
//#endregion
|
|
899
899
|
//#region src/constants.js
|
|
@@ -1030,7 +1030,7 @@ const PremiumPlusPlayer = ({ controls, preload: preload$1 = "auto", preloadList
|
|
|
1030
1030
|
onChangeContent: (data) => {
|
|
1031
1031
|
onPlaybackApiResponse?.("content", data);
|
|
1032
1032
|
const currentContent = getContentInfo(data);
|
|
1033
|
-
|
|
1033
|
+
setContentData((prev) => prev.chapters?.length > 0 ? {
|
|
1034
1034
|
...currentContent,
|
|
1035
1035
|
chapters: prev.chapters
|
|
1036
1036
|
} : currentContent);
|
|
@@ -1273,7 +1273,7 @@ const preloadSession = ({ host, accessToken, deviceId, headers, params, contentT
|
|
|
1273
1273
|
deviceId,
|
|
1274
1274
|
headers,
|
|
1275
1275
|
params
|
|
1276
|
-
}
|
|
1276
|
+
}).startPlayback({
|
|
1277
1277
|
type: contentType,
|
|
1278
1278
|
id: contentId
|
|
1279
1279
|
});
|