@gcorevideo/player 2.20.21 → 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 +4 -2
- package/dist/index.css +658 -658
- package/dist/index.js +4 -2
- package/dist/plugins/index.css +574 -574
- package/dist/plugins/index.js +1 -1
- package/lib/playback/HTML5Video.d.ts.map +1 -1
- package/lib/playback/HTML5Video.js +4 -2
- package/package.json +1 -1
- package/src/playback/HTML5Video.ts +4 -2
- package/tsconfig.tsbuildinfo +1 -1
package/dist/index.js
CHANGED
|
@@ -42670,12 +42670,14 @@ class HTML5Video extends BasePlayback {
|
|
|
42670
42670
|
ended: this.ended,
|
|
42671
42671
|
});
|
|
42672
42672
|
this.stallTimerId = null;
|
|
42673
|
-
this.createError({
|
|
42673
|
+
const error = this.createError({
|
|
42674
42674
|
code: PlaybackErrorCode.MediaSourceUnavailable,
|
|
42675
42675
|
level: PlayerError.Levels.FATAL,
|
|
42676
42676
|
message: 'Stall timeout',
|
|
42677
42677
|
description: 'Playback stalled for too long',
|
|
42678
42678
|
});
|
|
42679
|
+
this.trigger(Events$1.PLAYBACK_ERROR, error);
|
|
42680
|
+
setTimeout(() => this.stop(), 0);
|
|
42679
42681
|
}, STALL_TIMEOUT);
|
|
42680
42682
|
}
|
|
42681
42683
|
super._handleBufferingEvents();
|
|
@@ -43169,7 +43171,7 @@ class Player {
|
|
|
43169
43171
|
}
|
|
43170
43172
|
}
|
|
43171
43173
|
|
|
43172
|
-
var version$1 = "2.20.
|
|
43174
|
+
var version$1 = "2.20.22";
|
|
43173
43175
|
|
|
43174
43176
|
var packages = {
|
|
43175
43177
|
"node_modules/@clappr/core": {
|