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.
@@ -1259,7 +1259,9 @@ function createHlsAdPlayer(contentVideo, options) {
1259
1259
  if (options === null || options === void 0 ? void 0 : options.continueLiveStreamDuringAds) {
1260
1260
  if (contentVideo.paused) {
1261
1261
  console.log("[HlsAdPlayer] Content video paused in live mode, resuming playback");
1262
- contentVideo.play().catch(function() {});
1262
+ contentVideo.play().catch(function(error) {
1263
+ console.error("[HlsAdPlayer] Error resuming content playback in live mode:", error);
1264
+ });
1263
1265
  } else {
1264
1266
  console.log("[HlsAdPlayer] Content video already playing in live mode");
1265
1267
  }
@@ -1493,7 +1495,9 @@ function createHlsAdPlayer(contentVideo, options) {
1493
1495
  if (options === null || options === void 0 ? void 0 : options.continueLiveStreamDuringAds) {
1494
1496
  if (contentVideo.paused) {
1495
1497
  console.log("[HlsAdPlayer] Content video paused in live mode, resuming playback on stop");
1496
- contentVideo.play().catch(function() {});
1498
+ contentVideo.play().catch(function(error) {
1499
+ console.error("[HlsAdPlayer] Error resuming content playback in live mode on stop:", error);
1500
+ });
1497
1501
  }
1498
1502
  }
1499
1503
  if (adHls) {