stormcloud-video-player 0.2.5 → 0.2.6

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.
@@ -1405,17 +1405,6 @@ var StormcloudVideoPlayer = class {
1405
1405
  }
1406
1406
  return true;
1407
1407
  }
1408
- async loadDefaultVastFromAdstorm(adstormApiUrl, params) {
1409
- const usp = new URLSearchParams(params || {});
1410
- const url = `${adstormApiUrl}?${usp.toString()}`;
1411
- const res = await fetch(url);
1412
- if (!res.ok) throw new Error(`Failed to fetch adstorm ads: ${res.status}`);
1413
- const data = await res.json();
1414
- const tag = data?.adTagUrl || data?.vastTagUrl || data?.tagUrl;
1415
- if (typeof tag === "string" && tag.length > 0) {
1416
- this.apiVastTagUrl = tag;
1417
- }
1418
- }
1419
1408
  async handleAdStart(_marker) {
1420
1409
  const scheduled = this.findCurrentOrNextBreak(
1421
1410
  this.video.currentTime * 1e3