@gcorevideo/player 2.20.15 → 2.20.17

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/index.js CHANGED
@@ -42627,7 +42627,7 @@ class HTML5Video extends BasePlayback {
42627
42627
  */
42628
42628
  createError(errorData, options) {
42629
42629
  trace(`${T$h} createError`, {
42630
- errorData
42630
+ errorData: { ...errorData },
42631
42631
  });
42632
42632
  const i18n = this.i18n ||
42633
42633
  // @ts-ignore
@@ -42637,14 +42637,22 @@ class HTML5Video extends BasePlayback {
42637
42637
  if (i18n &&
42638
42638
  !errorData.UI &&
42639
42639
  errorData.code === MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED) {
42640
- errorData.UI = {
42641
- title: i18n.t('no_broadcast'),
42642
- message: errorData.message,
42643
- };
42640
+ // errorData.UI = {
42641
+ // title: i18n.t('no_broadcast'),
42642
+ // message: errorData.message,
42643
+ // }
42644
42644
  errorData.code = PlaybackErrorCode.MediaSourceUnavailable;
42645
42645
  }
42646
42646
  return super.createError(errorData, { ...options, useCodePrefix: false });
42647
42647
  }
42648
+ _onWaiting() {
42649
+ trace(`${T$h} _onWaiting`);
42650
+ super._onWaiting();
42651
+ }
42652
+ _onEnded() {
42653
+ trace(`${T$h} _onEnded`);
42654
+ super._onEnded();
42655
+ }
42648
42656
  }
42649
42657
 
42650
42658
  // TODO consider allowing the variation of the order of playback modules
@@ -43118,7 +43126,7 @@ class Player {
43118
43126
  }
43119
43127
  }
43120
43128
 
43121
- var version$1 = "2.20.15";
43129
+ var version$1 = "2.20.17";
43122
43130
 
43123
43131
  var packages = {
43124
43132
  "node_modules/@clappr/core": {