@gcorevideo/player 2.20.20 → 2.20.22

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.
package/dist/core.js CHANGED
@@ -42584,12 +42584,14 @@ class HTML5Video extends BasePlayback {
42584
42584
  ended: this.ended,
42585
42585
  });
42586
42586
  this.stallTimerId = null;
42587
- this.createError({
42587
+ const error = this.createError({
42588
42588
  code: PlaybackErrorCode.MediaSourceUnavailable,
42589
42589
  level: PlayerError.Levels.FATAL,
42590
42590
  message: 'Stall timeout',
42591
42591
  description: 'Playback stalled for too long',
42592
42592
  });
42593
+ this.trigger(Events$1.PLAYBACK_ERROR, error);
42594
+ setTimeout(() => this.stop(), 0);
42593
42595
  }, STALL_TIMEOUT);
42594
42596
  }
42595
42597
  super._handleBufferingEvents();
@@ -43083,7 +43085,7 @@ class Player {
43083
43085
  }
43084
43086
  }
43085
43087
 
43086
- var version$1 = "2.20.20";
43088
+ var version$1 = "2.20.22";
43087
43089
 
43088
43090
  var packages = {
43089
43091
  "node_modules/@clappr/core": {