@nomercy-entertainment/nomercy-video-player 2.2.9 → 2.4.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 +12 -0
- package/dist/index.js +1 -1
- package/dist/nomercy-video-player.iife.js +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [2.4.0] — 2026-10-28
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Media requests ask the core for their `Authorization` through an internal method, so `auth.mediaOrigins` works and `player.auth()` exposes no callable that returns the bearer. Needs core 2.4.0, which adds `mediaOrigins`.
|
|
10
|
+
|
|
11
|
+
## [2.3.0] — 2026-10-26
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Version-only release to keep the trio at one version with core 2.3.0 and music-player 2.3.0.
|
|
16
|
+
|
|
5
17
|
## [2.2.9] — 2026-10-23
|
|
6
18
|
|
|
7
19
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -330,7 +330,7 @@ export class NMVideoPlayer extends EventEmitter {
|
|
|
330
330
|
// rule changes mid-session is not answered from a stale closure.
|
|
331
331
|
// Live config, not `options.auth`: setup seeds it and `player.auth()`
|
|
332
332
|
// updates it, so a rule set after setup reaches media requests too.
|
|
333
|
-
instance.setAuthHeaderProvider?.((url) => this.
|
|
333
|
+
instance.setAuthHeaderProvider?.((url) => this._mediaAuthorization(url));
|
|
334
334
|
// Without this the stream registry is seeded and never asked, so
|
|
335
335
|
// `registerStream` records a factory that no load path consults. Only
|
|
336
336
|
// consumer-registered factories are offered: HLS and progressive files
|