@hopeplayer/core 1.2.0 → 1.2.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.
Files changed (26) hide show
  1. package/dist/chunks/{ads-CktoJVGs.js → ads-KH9oCkc0.js} +2 -2
  2. package/dist/chunks/{ads-CktoJVGs.js.map → ads-KH9oCkc0.js.map} +1 -1
  3. package/dist/chunks/{cast-BZTxmz1I.js → cast-CdzZu2dW.js} +2 -2
  4. package/dist/chunks/{cast-BZTxmz1I.js.map → cast-CdzZu2dW.js.map} +1 -1
  5. package/dist/chunks/{history-l0ZxZypM.js → history-DqPUjPvi.js} +2 -2
  6. package/dist/chunks/{history-l0ZxZypM.js.map → history-DqPUjPvi.js.map} +1 -1
  7. package/dist/chunks/{markers-DR-Mn8bS.js → markers-DO9EWMbY.js} +2 -2
  8. package/dist/chunks/{markers-DR-Mn8bS.js.map → markers-DO9EWMbY.js.map} +1 -1
  9. package/dist/chunks/{player-808ZzJ0g.js → player-CP2Wu92g.js} +13 -13
  10. package/dist/chunks/{player-808ZzJ0g.js.map → player-CP2Wu92g.js.map} +1 -1
  11. package/dist/chunks/{playlist-ByQx2cIG.js → playlist-Bn7dNo1J.js} +2 -2
  12. package/dist/chunks/{playlist-ByQx2cIG.js.map → playlist-Bn7dNo1J.js.map} +1 -1
  13. package/dist/chunks/{redirectScreen-B7r4DhSa.js → redirectScreen-DjaFCzlz.js} +2 -2
  14. package/dist/chunks/{redirectScreen-B7r4DhSa.js.map → redirectScreen-DjaFCzlz.js.map} +1 -1
  15. package/dist/chunks/{rewardedUnlock-DkGF7hx7.js → rewardedUnlock-dyhvvClS.js} +2 -2
  16. package/dist/chunks/{rewardedUnlock-DkGF7hx7.js.map → rewardedUnlock-dyhvvClS.js.map} +1 -1
  17. package/dist/chunks/{segments-XxChNKnD.js → segments-BbEd55qs.js} +2 -2
  18. package/dist/chunks/{segments-XxChNKnD.js.map → segments-BbEd55qs.js.map} +1 -1
  19. package/dist/chunks/{skipSegments-NlXGNFDp.js → skipSegments-B3Yt8Tbj.js} +2 -2
  20. package/dist/chunks/{skipSegments-NlXGNFDp.js.map → skipSegments-B3Yt8Tbj.js.map} +1 -1
  21. package/dist/chunks/{spriteThumbnails-BX3p30Yh.js → spriteThumbnails-DfxQcAuZ.js} +2 -2
  22. package/dist/chunks/{spriteThumbnails-BX3p30Yh.js.map → spriteThumbnails-DfxQcAuZ.js.map} +1 -1
  23. package/dist/chunks/{story-CAbY83_O.js → story-9l716qFL.js} +2 -2
  24. package/dist/chunks/{story-CAbY83_O.js.map → story-9l716qFL.js.map} +1 -1
  25. package/dist/hope-player.js +1 -1
  26. package/package.json +1 -1
@@ -2305,7 +2305,7 @@ function Kt() {
2305
2305
  }
2306
2306
  }
2307
2307
  }
2308
- const jt = [0.5, 0.75, 1, 1.25, 1.5, 2], xe = 1200, $t = 3e3, ke = 5e3, Qt = 10, we = 10, Wt = 5, Ee = "stream-audio", U = "1.2.0", Xt = {
2308
+ const jt = [0.5, 0.75, 1, 1.25, 1.5, 2], xe = 1200, $t = 3e3, ke = 5e3, Qt = 10, we = 10, Wt = 5, Ee = "stream-audio", U = "1.2.1", Xt = {
2309
2309
  hls: "application/x-mpegurl",
2310
2310
  mp4: "video/mp4",
2311
2311
  webm: "video/webm",
@@ -2959,7 +2959,7 @@ class Ne extends HTMLElement {
2959
2959
  );
2960
2960
  }
2961
2961
  if (e.playlist && !this.playlistRunner) {
2962
- const { installPlaylist: c } = await import("./playlist-ByQx2cIG.js");
2962
+ const { installPlaylist: c } = await import("./playlist-Bn7dNo1J.js");
2963
2963
  this.playlistRunner = c(
2964
2964
  {
2965
2965
  videoEl: this.videoEl,
@@ -2979,7 +2979,7 @@ class Ne extends HTMLElement {
2979
2979
  );
2980
2980
  }
2981
2981
  if (e.story && !this.hopeStory) {
2982
- const { installStory: c } = await import("./story-CAbY83_O.js");
2982
+ const { installStory: c } = await import("./story-9l716qFL.js");
2983
2983
  this.hopeStory = c(
2984
2984
  {
2985
2985
  videoEl: this.videoEl,
@@ -3000,7 +3000,7 @@ class Ne extends HTMLElement {
3000
3000
  );
3001
3001
  }
3002
3002
  if (e.markers && !this.markProgress) {
3003
- const { installMarkers: c } = await import("./markers-DR-Mn8bS.js");
3003
+ const { installMarkers: c } = await import("./markers-DO9EWMbY.js");
3004
3004
  this.markProgress = c(
3005
3005
  {
3006
3006
  videoEl: this.videoEl,
@@ -3012,11 +3012,11 @@ class Ne extends HTMLElement {
3012
3012
  );
3013
3013
  }
3014
3014
  if ((x = e.segments) != null && x.length && !this.segments) {
3015
- const { installSegments: c } = await import("./segments-XxChNKnD.js");
3015
+ const { installSegments: c } = await import("./segments-BbEd55qs.js");
3016
3016
  this.segments = c({ videoEl: this.videoEl, seekBar: this.controlBar.seekBar }, e.segments);
3017
3017
  }
3018
3018
  if (e.spriteThumbnails && !this.spriteThumbnails) {
3019
- const { installSpriteThumbnails: c } = await import("./spriteThumbnails-BX3p30Yh.js");
3019
+ const { installSpriteThumbnails: c } = await import("./spriteThumbnails-DfxQcAuZ.js");
3020
3020
  this.spriteThumbnails = c(
3021
3021
  {
3022
3022
  videoEl: this.videoEl,
@@ -3028,7 +3028,7 @@ class Ne extends HTMLElement {
3028
3028
  }
3029
3029
  const m = e.redirectScreen ? JSON.stringify(e.redirectScreen) : "";
3030
3030
  if (m !== this.redirectKey && (this.redirectKey = m, (k = this.redirectScreen) == null || k.destroy(), this.redirectScreen = null, e.redirectScreen)) {
3031
- const { installRedirectScreen: c } = await import("./redirectScreen-B7r4DhSa.js");
3031
+ const { installRedirectScreen: c } = await import("./redirectScreen-DjaFCzlz.js");
3032
3032
  this.redirectScreen = c(
3033
3033
  { hostEl: this, videoEl: this.videoEl, overlayContainerEl: this.videoArea, isAdActive: () => this.isAdPlaying(), i18n: this.i18n },
3034
3034
  e.redirectScreen
@@ -3053,7 +3053,7 @@ class Ne extends HTMLElement {
3053
3053
  }
3054
3054
  const p = (C = e.skipSegments) != null && C.length ? JSON.stringify(e.skipSegments) : "";
3055
3055
  if (p !== this.skipSegmentsKey && (this.skipSegmentsKey = p, (E = this.skipSegments) == null || E.destroy(), this.skipSegments = null, (S = e.skipSegments) != null && S.length)) {
3056
- const { installSkipSegments: c } = await import("./skipSegments-NlXGNFDp.js");
3056
+ const { installSkipSegments: c } = await import("./skipSegments-B3Yt8Tbj.js");
3057
3057
  this.skipSegmentsKey === p && (this.skipSegments = c(
3058
3058
  { hostEl: this, videoEl: this.videoEl, overlayContainerEl: this.videoArea, isAdActive: () => this.isAdPlaying(), i18n: this.i18n },
3059
3059
  e.skipSegments
@@ -3061,7 +3061,7 @@ class Ne extends HTMLElement {
3061
3061
  }
3062
3062
  const g = e.history ? JSON.stringify(e.history) : "";
3063
3063
  if (g !== this.historyKey && (this.historyKey = g, (T = this.playbackHistory) == null || T.destroy(), this.playbackHistory = null, e.history)) {
3064
- const c = e.qrResume ? e.qrResume.paramName ?? "vtime" : null, u = !!c && new URL(location.href).searchParams.has(c), { installHistory: b } = await import("./history-l0ZxZypM.js");
3064
+ const c = e.qrResume ? e.qrResume.paramName ?? "vtime" : null, u = !!c && new URL(location.href).searchParams.has(c), { installHistory: b } = await import("./history-DqPUjPvi.js");
3065
3065
  this.historyKey === g && (this.playbackHistory = b(
3066
3066
  {
3067
3067
  hostEl: this,
@@ -3308,7 +3308,7 @@ class Ne extends HTMLElement {
3308
3308
  if (this.rewardedUnlock)
3309
3309
  this.rewardedUnlock.update(i);
3310
3310
  else {
3311
- const { installRewardedUnlock: r } = await import("./rewardedUnlock-DkGF7hx7.js");
3311
+ const { installRewardedUnlock: r } = await import("./rewardedUnlock-dyhvvClS.js");
3312
3312
  this.rewardedUnlock ?? (this.rewardedUnlock = r(
3313
3313
  {
3314
3314
  hostEl: this,
@@ -3349,7 +3349,7 @@ class Ne extends HTMLElement {
3349
3349
  if (this.castController)
3350
3350
  this.castController.update(i);
3351
3351
  else {
3352
- const { installCast: o } = await import("./cast-BZTxmz1I.js");
3352
+ const { installCast: o } = await import("./cast-CdzZu2dW.js");
3353
3353
  this.castController ?? (this.castController = o(
3354
3354
  {
3355
3355
  hostEl: this,
@@ -3680,7 +3680,7 @@ class Ne extends HTMLElement {
3680
3680
  if (!this.adsInstall) {
3681
3681
  const i = e.ads === !0 ? {} : e.ads;
3682
3682
  this.adsInstall = (async () => {
3683
- const { installAds: r } = await import("./ads-CktoJVGs.js");
3683
+ const { installAds: r } = await import("./ads-KH9oCkc0.js");
3684
3684
  this.adsController = await r(
3685
3685
  {
3686
3686
  videoEl: this.videoEl,
@@ -3752,4 +3752,4 @@ export {
3752
3752
  J as t,
3753
3753
  K as v
3754
3754
  };
3755
- //# sourceMappingURL=player-808ZzJ0g.js.map
3755
+ //# sourceMappingURL=player-CP2Wu92g.js.map