@kkcompany/ott-player 0.5.0-canary.29 → 0.5.1
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 -46
- package/dist/index.cjs +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,60 +2,21 @@
|
|
|
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
|
-
|
|
5
|
+
### [0.5.1](https://gitlab.kkinternal.com/kks-web/blahaj/compare/player@0.5.0...player@0.5.1) (2026-06-24)
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
### Features
|
|
9
9
|
|
|
10
|
-
*
|
|
11
|
-
* add external subtitle if playback API provide it ([3edfab9](https://gitlab.kkinternal.com/kks-web/blahaj/commit/3edfab9f13485628cf74417a83a9a3fe216b3b04))
|
|
12
|
-
* add hidden toggle component ([fde7230](https://gitlab.kkinternal.com/kks-web/blahaj/commit/fde72307fda4d6c840f9b768aaf1cd406bae1f3e))
|
|
13
|
-
* add line clamp to video item title ([3808a9a](https://gitlab.kkinternal.com/kks-web/blahaj/commit/3808a9afb451e96cbe1ceafc5fa9282390a6f0f4))
|
|
14
|
-
* add support for new source type / subdub menu ([8d328f4](https://gitlab.kkinternal.com/kks-web/blahaj/commit/8d328f44fa44803deafed96810e02ee44fb04dad))
|
|
15
|
-
* add support for playready sl3000 ([bcd61ef](https://gitlab.kkinternal.com/kks-web/blahaj/commit/bcd61eff45e7991188e6685f2be4fa3a60d05cff))
|
|
16
|
-
* add VideoItem progress ([4abcbe0](https://gitlab.kkinternal.com/kks-web/blahaj/commit/4abcbe0f877787c95703e196c975deb451438901))
|
|
17
|
-
* add VideoItem, VideoThumbnail ([81357c4](https://gitlab.kkinternal.com/kks-web/blahaj/commit/81357c4dcd2665b5057aa2d4aac15534e0564023))
|
|
18
|
-
* **app-ui:** add secondary text to video item ([b834134](https://gitlab.kkinternal.com/kks-web/blahaj/commit/b83413495943cc4ae5f7b98f5c65852fedfd7425))
|
|
19
|
-
* **app-ui:** add SeeMore component ([817da8f](https://gitlab.kkinternal.com/kks-web/blahaj/commit/817da8faeebbb105206e3e2ac61b8d4aac957580))
|
|
20
|
-
* **app-ui:** enhance VideoItem and Page components with watermark and thumbnail children support ([7acadd2](https://gitlab.kkinternal.com/kks-web/blahaj/commit/7acadd2dd80ee138f73d5362df341a7c4b072f6b))
|
|
21
|
-
* **app-ui:** flexible thumbnail size ([6b50d59](https://gitlab.kkinternal.com/kks-web/blahaj/commit/6b50d5937de853e3ea29e967633ddf9a461f8018))
|
|
22
|
-
* **app-ui:** mobile style see more ([272818c](https://gitlab.kkinternal.com/kks-web/blahaj/commit/272818c7b7013ebd5d91141f16281be1b607d94f))
|
|
23
|
-
* clickable mobile video item description ([8545219](https://gitlab.kkinternal.com/kks-web/blahaj/commit/8545219e41e2f3981f15910f73eacad43826532b))
|
|
24
|
-
* connect subtitles/audio info of playback API ([47f7b4d](https://gitlab.kkinternal.com/kks-web/blahaj/commit/47f7b4da28f879ee0879bfbe972bba708a1e5527))
|
|
25
|
-
* enable custom display name for external subtitles ([4af3f09](https://gitlab.kkinternal.com/kks-web/blahaj/commit/4af3f09a500755ba9571832b094178b19a60c7af))
|
|
26
|
-
* enable transform of track list ([97e4d97](https://gitlab.kkinternal.com/kks-web/blahaj/commit/97e4d97f81051742efbf3732c17ca50617f4e283))
|
|
27
|
-
* provide Cast related exports ([fe6cb75](https://gitlab.kkinternal.com/kks-web/blahaj/commit/fe6cb75ed63d3deb4358917fb1da02988516738e))
|
|
28
|
-
* re-export OverlayPanel, LanguageMenu ([ea0a3b5](https://gitlab.kkinternal.com/kks-web/blahaj/commit/ea0a3b5678fe5405e3da966092b730fa5ab87ed0))
|
|
29
|
-
* refine video item clickable area/behavior ([4cf6935](https://gitlab.kkinternal.com/kks-web/blahaj/commit/4cf69359ae35ac6d2dc6f7441c9a1be5eb2f67ac))
|
|
30
|
-
* support for HLS/DASH separate audio/text track settings ([82d1764](https://gitlab.kkinternal.com/kks-web/blahaj/commit/82d1764e677f47d73ac3fb739a9d879e0dba52e6))
|
|
31
|
-
* use playback api defined defualt tracks ([c9d8913](https://gitlab.kkinternal.com/kks-web/blahaj/commit/c9d89139aa02d65db7c1eaa9dd0087eb3cbbdfc3))
|
|
10
|
+
* always update UI for live ([cd01e88](https://gitlab.kkinternal.com/kks-web/blahaj/commit/cd01e88f5e5d21b70dcc011486f522354822ef66))
|
|
32
11
|
|
|
33
12
|
|
|
34
13
|
### Bug Fixes
|
|
35
14
|
|
|
36
|
-
* [
|
|
37
|
-
* [
|
|
38
|
-
*
|
|
39
|
-
* [ST-18511] both title and description limit 2 lines ([449e7e1](https://gitlab.kkinternal.com/kks-web/blahaj/commit/449e7e1d2003106bdf8f6335647e4b87127858da))
|
|
40
|
-
* [ST-18685][ST-18686] add onClick ([bf613d0](https://gitlab.kkinternal.com/kks-web/blahaj/commit/bf613d0987fd41d143caff1b69ce1c44252fdaa2))
|
|
41
|
-
* [ST-18890] Correct the tag color on video thumbnail ([aadac0e](https://gitlab.kkinternal.com/kks-web/blahaj/commit/aadac0e0ee61914dc50d88bf06ff8b5f945100ef))
|
|
42
|
-
* adjust dropdown ([02425f0](https://gitlab.kkinternal.com/kks-web/blahaj/commit/02425f015bb23a7265ca415ac6fc1014c4743698))
|
|
43
|
-
* **app-ui:** add box orient to VideoItem for line clamp to take effect ([31dc79b](https://gitlab.kkinternal.com/kks-web/blahaj/commit/31dc79b60a27426c3bdc43855f5bae8be041ca4b))
|
|
44
|
-
* **app-ui:** default text color of see more button ([09721a9](https://gitlab.kkinternal.com/kks-web/blahaj/commit/09721a93c4256680dfa7acb333b60ad72c3f89b0))
|
|
45
|
-
* **app-ui:** guard usage in resize handling ([655d57e](https://gitlab.kkinternal.com/kks-web/blahaj/commit/655d57edb4df2cfde54675b2eab9fb7f4615048a))
|
|
46
|
-
* **app-ui:** mobile video item layout ([121f54f](https://gitlab.kkinternal.com/kks-web/blahaj/commit/121f54fecc9f96184055b0052091ff3408241537))
|
|
47
|
-
* line clamp can't work with padding ([15e5f3b](https://gitlab.kkinternal.com/kks-web/blahaj/commit/15e5f3b6637c76f68891e67298791ed601c262fa))
|
|
48
|
-
* move Dropdown from kks-react-components ([558ae40](https://gitlab.kkinternal.com/kks-web/blahaj/commit/558ae404d07b70066e91c5934fc19f82646fcef3))
|
|
49
|
-
* path of certificateUri ([79cb50f](https://gitlab.kkinternal.com/kks-web/blahaj/commit/79cb50fd664b4a17227d0c0b9d787e698dd725bd))
|
|
50
|
-
* release version 0.3.99 ([105f05b](https://gitlab.kkinternal.com/kks-web/blahaj/commit/105f05ba26ef46ff6b6049922f89a515fa7a874e))
|
|
51
|
-
* should not reset after session end ([1f8bad5](https://gitlab.kkinternal.com/kks-web/blahaj/commit/1f8bad5b79533aa01182d3b75d7132578ede9e7a))
|
|
52
|
-
* should not reset log instance of new session ([f109bd9](https://gitlab.kkinternal.com/kks-web/blahaj/commit/f109bd911af63c6aac545f4adc5658e4e56c39b3))
|
|
53
|
-
* start session error handling ([22aa64e](https://gitlab.kkinternal.com/kks-web/blahaj/commit/22aa64ea4e1a4b69f4af37d986a89fa5029fb65b))
|
|
54
|
-
* update dropdown ([a8c567f](https://gitlab.kkinternal.com/kks-web/blahaj/commit/a8c567fd2a0924991063dc801901a6ffa6e4b7ae))
|
|
55
|
-
* update version ([a74ba7c](https://gitlab.kkinternal.com/kks-web/blahaj/commit/a74ba7cf79de5c625b12ebfceef965fdece3f2f5))
|
|
56
|
-
* update version v0.3.98 ([26e9fd3](https://gitlab.kkinternal.com/kks-web/blahaj/commit/26e9fd30a00eb01357e982fdc5783e8493aa63b1))
|
|
15
|
+
* [SUN-2999] derive banner currentPosition ([3a15929](https://gitlab.kkinternal.com/kks-web/blahaj/commit/3a15929328677b644f7c3f8d5897bb562e178b5c))
|
|
16
|
+
* [SUN-2999][SUN-3015] always render banner indicator ([d1488da](https://gitlab.kkinternal.com/kks-web/blahaj/commit/d1488dabf7de579f7c8442ec5aa3ae57b9d011c4))
|
|
17
|
+
* display channel title only when needed ([4d534b6](https://gitlab.kkinternal.com/kks-web/blahaj/commit/4d534b61f28c55f05374b5ca2a99d0c8e31b99f5))
|
|
57
18
|
|
|
58
|
-
## [0.5.0
|
|
19
|
+
## [0.5.0](https://gitlab.kkinternal.com/kks-web/blahaj/compare/player@0.3.97...player@0.5.0) (2026-05-08)
|
|
59
20
|
|
|
60
21
|
|
|
61
22
|
### Features
|
|
@@ -65,6 +26,7 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
65
26
|
* add hidden toggle component ([fde7230](https://gitlab.kkinternal.com/kks-web/blahaj/commit/fde72307fda4d6c840f9b768aaf1cd406bae1f3e))
|
|
66
27
|
* add line clamp to video item title ([3808a9a](https://gitlab.kkinternal.com/kks-web/blahaj/commit/3808a9afb451e96cbe1ceafc5fa9282390a6f0f4))
|
|
67
28
|
* add support for new source type / subdub menu ([8d328f4](https://gitlab.kkinternal.com/kks-web/blahaj/commit/8d328f44fa44803deafed96810e02ee44fb04dad))
|
|
29
|
+
* add support for playready sl3000 ([bcd61ef](https://gitlab.kkinternal.com/kks-web/blahaj/commit/bcd61eff45e7991188e6685f2be4fa3a60d05cff))
|
|
68
30
|
* add VideoItem progress ([4abcbe0](https://gitlab.kkinternal.com/kks-web/blahaj/commit/4abcbe0f877787c95703e196c975deb451438901))
|
|
69
31
|
* add VideoItem, VideoThumbnail ([81357c4](https://gitlab.kkinternal.com/kks-web/blahaj/commit/81357c4dcd2665b5057aa2d4aac15534e0564023))
|
|
70
32
|
* **app-ui:** add secondary text to video item ([b834134](https://gitlab.kkinternal.com/kks-web/blahaj/commit/b83413495943cc4ae5f7b98f5c65852fedfd7425))
|
|
@@ -99,7 +61,6 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
99
61
|
* line clamp can't work with padding ([15e5f3b](https://gitlab.kkinternal.com/kks-web/blahaj/commit/15e5f3b6637c76f68891e67298791ed601c262fa))
|
|
100
62
|
* move Dropdown from kks-react-components ([558ae40](https://gitlab.kkinternal.com/kks-web/blahaj/commit/558ae404d07b70066e91c5934fc19f82646fcef3))
|
|
101
63
|
* path of certificateUri ([79cb50f](https://gitlab.kkinternal.com/kks-web/blahaj/commit/79cb50fd664b4a17227d0c0b9d787e698dd725bd))
|
|
102
|
-
* prefer PlayReady only on Windows Edge ([4b9ad41](https://gitlab.kkinternal.com/kks-web/blahaj/commit/4b9ad4101611f8bfd15a2056828633e7651daf09))
|
|
103
64
|
* release version 0.3.99 ([105f05b](https://gitlab.kkinternal.com/kks-web/blahaj/commit/105f05ba26ef46ff6b6049922f89a515fa7a874e))
|
|
104
65
|
* should not reset after session end ([1f8bad5](https://gitlab.kkinternal.com/kks-web/blahaj/commit/1f8bad5b79533aa01182d3b75d7132578ede9e7a))
|
|
105
66
|
* should not reset log instance of new session ([f109bd9](https://gitlab.kkinternal.com/kks-web/blahaj/commit/f109bd911af63c6aac545f4adc5658e4e56c39b3))
|
package/dist/index.cjs
CHANGED
|
@@ -778,7 +778,7 @@ const startPlaybackSession = async (playbackApi, options = {}) => {
|
|
|
778
778
|
}, timeBeforeEnd);
|
|
779
779
|
if (!deepEqual(content, state.content)) {
|
|
780
780
|
state.content = content;
|
|
781
|
-
const skipUiUpdate = !useCache;
|
|
781
|
+
const skipUiUpdate = !useCache && content?.end_time > 0;
|
|
782
782
|
if (!skipUiUpdate) state.currentContent = content;
|
|
783
783
|
onChangeContent?.({
|
|
784
784
|
type: type$1,
|
|
@@ -914,7 +914,7 @@ var preload_default = preload;
|
|
|
914
914
|
|
|
915
915
|
//#endregion
|
|
916
916
|
//#region package.json
|
|
917
|
-
var version = "0.5.
|
|
917
|
+
var version = "0.5.1";
|
|
918
918
|
|
|
919
919
|
//#endregion
|
|
920
920
|
//#region src/constants.js
|
|
@@ -1157,7 +1157,7 @@ const PremiumPlusPlayer = ({ controls, preload: preload$1 = "auto", preloadList
|
|
|
1157
1157
|
currentTime: preferAppTime.current ? currentTime : startTime,
|
|
1158
1158
|
controls: uiState.activePanel === "autoplay-next" || uiState.activePanel === "recommendation" && recommendation ? "title-only" : controls,
|
|
1159
1159
|
title: contentData.title,
|
|
1160
|
-
channelTitle: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [contentData.section?.start && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [
|
|
1160
|
+
channelTitle: contentData.channelTitle && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [contentData.section?.start && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [
|
|
1161
1161
|
getChannelTime(contentData.section.start),
|
|
1162
1162
|
" -",
|
|
1163
1163
|
" ",
|
package/dist/index.mjs
CHANGED
|
@@ -754,7 +754,7 @@ const startPlaybackSession = async (playbackApi, options = {}) => {
|
|
|
754
754
|
}, timeBeforeEnd);
|
|
755
755
|
if (!deepEqual(content, state.content)) {
|
|
756
756
|
state.content = content;
|
|
757
|
-
const skipUiUpdate = !useCache;
|
|
757
|
+
const skipUiUpdate = !useCache && content?.end_time > 0;
|
|
758
758
|
if (!skipUiUpdate) state.currentContent = content;
|
|
759
759
|
onChangeContent?.({
|
|
760
760
|
type: type$1,
|
|
@@ -890,7 +890,7 @@ var preload_default = preload;
|
|
|
890
890
|
|
|
891
891
|
//#endregion
|
|
892
892
|
//#region package.json
|
|
893
|
-
var version = "0.5.
|
|
893
|
+
var version = "0.5.1";
|
|
894
894
|
|
|
895
895
|
//#endregion
|
|
896
896
|
//#region src/constants.js
|
|
@@ -1133,7 +1133,7 @@ const PremiumPlusPlayer = ({ controls, preload: preload$1 = "auto", preloadList
|
|
|
1133
1133
|
currentTime: preferAppTime.current ? currentTime : startTime,
|
|
1134
1134
|
controls: uiState.activePanel === "autoplay-next" || uiState.activePanel === "recommendation" && recommendation ? "title-only" : controls,
|
|
1135
1135
|
title: contentData.title,
|
|
1136
|
-
channelTitle: /* @__PURE__ */ jsxs(Fragment, { children: [contentData.section?.start && /* @__PURE__ */ jsxs("span", { children: [
|
|
1136
|
+
channelTitle: contentData.channelTitle && /* @__PURE__ */ jsxs(Fragment, { children: [contentData.section?.start && /* @__PURE__ */ jsxs("span", { children: [
|
|
1137
1137
|
getChannelTime(contentData.section.start),
|
|
1138
1138
|
" -",
|
|
1139
1139
|
" ",
|