stormcloud-video-player 0.8.44 → 0.8.45

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.
@@ -1,4 +1,4 @@
1
- import { S as StormcloudVideoPlayerConfig } from '../types-iDjS8f_7.cjs';
1
+ import { a as StormcloudVideoPlayerConfig } from '../types-cTqIKw_D.cjs';
2
2
 
3
3
  declare class StormcloudVideoPlayer {
4
4
  private readonly video;
@@ -1,4 +1,4 @@
1
- import { a as Scte35Marker } from '../types-iDjS8f_7.cjs';
1
+ import { S as Scte35Marker } from '../types-cTqIKw_D.cjs';
2
2
 
3
3
  type Scte35CueSource = "manifest" | "id3" | "ts";
4
4
  type Scte35CueReadiness = "early" | "playback";
@@ -1273,7 +1273,9 @@ function createHlsAdPlayer(contentVideo, options) {
1273
1273
  if (options === null || options === void 0 ? void 0 : options.continueLiveStreamDuringAds) {
1274
1274
  if (contentVideo.paused) {
1275
1275
  console.log("[HlsAdPlayer] Content video paused in live mode, resuming playback");
1276
- contentVideo.play().catch(function() {});
1276
+ contentVideo.play().catch(function(error) {
1277
+ console.error("[HlsAdPlayer] Error resuming content playback in live mode:", error);
1278
+ });
1277
1279
  } else {
1278
1280
  console.log("[HlsAdPlayer] Content video already playing in live mode");
1279
1281
  }
@@ -1507,7 +1509,9 @@ function createHlsAdPlayer(contentVideo, options) {
1507
1509
  if (options === null || options === void 0 ? void 0 : options.continueLiveStreamDuringAds) {
1508
1510
  if (contentVideo.paused) {
1509
1511
  console.log("[HlsAdPlayer] Content video paused in live mode, resuming playback on stop");
1510
- contentVideo.play().catch(function() {});
1512
+ contentVideo.play().catch(function(error) {
1513
+ console.error("[HlsAdPlayer] Error resuming content playback in live mode on stop:", error);
1514
+ });
1511
1515
  }
1512
1516
  }
1513
1517
  if (adHls) {