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,5 +1,5 @@
1
1
  import { Component } from 'react';
2
- import { S as StormcloudVideoPlayerConfig } from '../types-iDjS8f_7.cjs';
2
+ import { a as StormcloudVideoPlayerConfig } from '../types-cTqIKw_D.cjs';
3
3
 
4
4
  interface HlsPlayerProps extends StormcloudVideoPlayerConfig {
5
5
  onMount?: (player: any) => void;
@@ -1309,7 +1309,9 @@ function createHlsAdPlayer(contentVideo, options) {
1309
1309
  if (options === null || options === void 0 ? void 0 : options.continueLiveStreamDuringAds) {
1310
1310
  if (contentVideo.paused) {
1311
1311
  console.log("[HlsAdPlayer] Content video paused in live mode, resuming playback");
1312
- contentVideo.play().catch(function() {});
1312
+ contentVideo.play().catch(function(error) {
1313
+ console.error("[HlsAdPlayer] Error resuming content playback in live mode:", error);
1314
+ });
1313
1315
  } else {
1314
1316
  console.log("[HlsAdPlayer] Content video already playing in live mode");
1315
1317
  }
@@ -1543,7 +1545,9 @@ function createHlsAdPlayer(contentVideo, options) {
1543
1545
  if (options === null || options === void 0 ? void 0 : options.continueLiveStreamDuringAds) {
1544
1546
  if (contentVideo.paused) {
1545
1547
  console.log("[HlsAdPlayer] Content video paused in live mode, resuming playback on stop");
1546
- contentVideo.play().catch(function() {});
1548
+ contentVideo.play().catch(function(error) {
1549
+ console.error("[HlsAdPlayer] Error resuming content playback in live mode on stop:", error);
1550
+ });
1547
1551
  }
1548
1552
  }
1549
1553
  if (adHls) {