@oddin-gg/havik-player 2.16.8 → 2.16.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/dist/index.js CHANGED
@@ -1065,8 +1065,8 @@ var W = class {
1065
1065
  for (let n = 0; n < t.length; n += 1) t[n].mode = n === e ? "showing" : "disabled";
1066
1066
  }
1067
1067
  seekToLive() {
1068
- let e = this.deps.video;
1069
- e.seekable.length > 0 && (e.currentTime = e.seekable.end(e.seekable.length - 1));
1068
+ let e = this.deps.video, t = this.liveEnd();
1069
+ t == null || t <= e.currentTime || (e.currentTime = t);
1070
1070
  }
1071
1071
  getStats() {
1072
1072
  let e = this.deps.video, t = this.frameCounter.read(), n = {
@@ -2518,7 +2518,7 @@ async function Sn() {
2518
2518
  }
2519
2519
  //#endregion
2520
2520
  //#region src/core/version.ts
2521
- var Cn = "2.16.8", wn = {
2521
+ var Cn = "2.16.9", wn = {
2522
2522
  accent: "#E1B600",
2523
2523
  accentText: "#1B1C23",
2524
2524
  background: "#0e0f13",