@nomercy-entertainment/nomercy-video-player 2.3.0 → 2.5.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 CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [2.5.0] — 2026-11-01
6
+
7
+ ### Fixed
8
+
9
+ - The ASS selection carries to the next item and is redrawn after it loads; an out-of-order apply no longer replaces the newest one; a failed subtitle or font load is retried.
10
+ - ASS captions line up with the frame on screen (needs `nomercy-subtitle-octopus` 0.2.0, which locks subtitle time to the presented video frame and fits the caption canvas to its wrapper) and no longer make the video drop frames.
11
+
12
+ ### Removed
13
+
14
+ - The `OctopusPlugin` renderer options `renderAhead`, `targetFps`, `renderMode`, `prescaleFactor`, `prescaleHeightLimit`, `maxRenderHeight` and `lossyRender`. The worker never read them, so removing them changes no behavior. Delete them from your options; TypeScript flags each one.
15
+
16
+ ### Changed
17
+
18
+ - Needs `@nomercy-entertainment/nomercy-subtitle-octopus` `^0.2.0` and core 2.5.0. The bundled worker is `nomercy-libass-worker.js`.
19
+
20
+ ## [2.4.0] — 2026-10-28
21
+
22
+ ### Changed
23
+
24
+ - 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`.
25
+
5
26
  ## [2.3.0] — 2026-10-26
6
27
 
7
28
  ### Changed
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.auth()?.mediaAuthorization?.(url));
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