@codenkay/video-nsgplayer-core 0.1.5 → 2.0.0
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 +51 -11
- package/dist/index.cjs +408 -43
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +87 -14
- package/dist/index.d.ts +87 -14
- package/dist/index.js +406 -43
- package/dist/index.js.map +1 -1
- package/package.json +14 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,27 +1,67 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add `@codenkay/video-nsgplayer-ui` control chrome package; emit timeupdate/progress and text/audio track Runtime APIs from core for host UI parity.
|
|
8
|
+
|
|
9
|
+
## 1.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- Emit `timeupdate` and `progress` from the mounted media element for host UI seek bars.
|
|
14
|
+
- Add text/audio track Runtime API: `getTextTracks`, `getSelectedTextTrack`, `setTextTrack`, `getAudioTracks`, `getSelectedAudioTrack`, `setAudioTrack`, plus `texttrackchange` / `audiotrackchange` events.
|
|
15
|
+
- Add `setFullscreenElement` for host chrome fullscreen targeting. Zoom remains UI-only (CSS transform).
|
|
16
|
+
|
|
17
|
+
## 1.0.0
|
|
18
|
+
|
|
19
|
+
### Major Changes
|
|
20
|
+
|
|
21
|
+
- Fix minor errors
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- 1a4dc9b: Initial public SDK packages: core createVideoPlayer API with dual auth/playback lifecycles, React and Angular adapters, full PlayerConfig parity with demo settings.
|
|
26
|
+
|
|
27
|
+
## 0.1.8
|
|
28
|
+
|
|
29
|
+
- Fix Firefox `InternalError: too much recursion` from nested hls.js loaders:
|
|
30
|
+
`createAuthParamsLoader` now **composes** a builtin `XhrLoader`/`FetchLoader`
|
|
31
|
+
instead of `extends DefaultConfig.loader` (which could nest `super.load()` after
|
|
32
|
+
HMR / repeated mounts if DefaultConfig was polluted).
|
|
33
|
+
- `resolveBuiltinHlsLoader()` walks past any wrapper classes to the builtin loader.
|
|
34
|
+
|
|
35
|
+
## 0.1.7
|
|
36
|
+
|
|
37
|
+
- Fix false AES key fatal: remove the post-publish gate that required
|
|
38
|
+
`getKeyAccessToken` or `keyProxyUrlBuilder` even when CDN `enc.key` only needs
|
|
39
|
+
signed query params (same auth as segments — pre-0.1.5 behavior).
|
|
40
|
+
- Load `enc.key` via signed query + XHR by default; use browser `fetch` + Bearer
|
|
41
|
+
only when `streaming.getKeyAccessToken` returns a token; use BFF when
|
|
42
|
+
`keyProxyUrlBuilder` is set.
|
|
43
|
+
- Clearer key-load errors that report HTTP/network cause instead of a configure prompt.
|
|
44
|
+
|
|
45
|
+
## 0.1.6
|
|
46
|
+
|
|
47
|
+
- Fix false "Playback refresh failed": `PlayerError` is not an `Error`, so refresh failures lost their real message.
|
|
48
|
+
- Do not treat HLS key CORS/`status 0` as signed-URL expiry (that caused renew loops). Only 401/403 trigger auth recovery.
|
|
49
|
+
|
|
3
50
|
## 0.1.5
|
|
4
51
|
|
|
5
|
-
- Add `streaming.getKeyAccessToken` for browser-direct AES `enc.key` loads with `Authorization: Bearer
|
|
6
|
-
- Clearer key-load guidance when neither key proxy nor browser Bearer is configured.
|
|
52
|
+
- Add `streaming.getKeyAccessToken` for browser-direct AES `enc.key` loads with `Authorization: Bearer`.
|
|
7
53
|
|
|
8
54
|
## 0.1.4
|
|
9
55
|
|
|
10
|
-
- Fix stall after segments return 200
|
|
11
|
-
- Only trigger signed-URL auth recovery on HTTP 401/403 (not every network blip).
|
|
12
|
-
- Require/surface `streaming.keyProxyUrlBuilder` when AES `enc.key` load fails (Appextech VOD needs same-origin BFF + API Bearer).
|
|
13
|
-
- Clear sticky `renewing` state after successful credential refresh.
|
|
56
|
+
- Fix stall after segments return 200; renew only on 401/403; clear sticky renewing state.
|
|
14
57
|
|
|
15
58
|
## 0.1.3
|
|
16
59
|
|
|
17
|
-
-
|
|
18
|
-
- Preserve optional `streaming.keyProxyUrlBuilder` through config merge.
|
|
60
|
+
- Re-apply signed query params on every HLS child request (fix CDN 403).
|
|
19
61
|
|
|
20
62
|
## 0.1.2
|
|
21
63
|
|
|
22
|
-
- Fix `
|
|
23
|
-
- Secret scanning is now plain-object only, iterative, depth-capped, and does not deep-walk `mount` / `auth` / `playback`.
|
|
24
|
-
- Harden `redactObject` against circular graphs.
|
|
64
|
+
- Fix `too much recursion` in secret config scanning.
|
|
25
65
|
|
|
26
66
|
## 0.1.1
|
|
27
67
|
|