@gcorevideo/player 2.20.15 → 2.20.16
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 +6 -6
- package/dist/index.css +703 -703
- package/dist/index.js +6 -6
- package/dist/plugins/index.css +1201 -1201
- package/dist/plugins/index.js +1 -1
- package/lib/playback/HTML5Video.js +5 -5
- package/package.json +1 -1
- package/src/playback/HTML5Video.ts +5 -5
- package/tsconfig.tsbuildinfo +1 -1
package/dist/core.js
CHANGED
|
@@ -42541,7 +42541,7 @@ class HTML5Video extends BasePlayback {
|
|
|
42541
42541
|
*/
|
|
42542
42542
|
createError(errorData, options) {
|
|
42543
42543
|
trace(`${T$1} createError`, {
|
|
42544
|
-
errorData
|
|
42544
|
+
errorData: structuredClone(errorData),
|
|
42545
42545
|
});
|
|
42546
42546
|
const i18n = this.i18n ||
|
|
42547
42547
|
// @ts-ignore
|
|
@@ -42551,10 +42551,10 @@ class HTML5Video extends BasePlayback {
|
|
|
42551
42551
|
if (i18n &&
|
|
42552
42552
|
!errorData.UI &&
|
|
42553
42553
|
errorData.code === MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED) {
|
|
42554
|
-
errorData.UI = {
|
|
42555
|
-
|
|
42556
|
-
|
|
42557
|
-
}
|
|
42554
|
+
// errorData.UI = {
|
|
42555
|
+
// title: i18n.t('no_broadcast'),
|
|
42556
|
+
// message: errorData.message,
|
|
42557
|
+
// }
|
|
42558
42558
|
errorData.code = PlaybackErrorCode.MediaSourceUnavailable;
|
|
42559
42559
|
}
|
|
42560
42560
|
return super.createError(errorData, { ...options, useCodePrefix: false });
|
|
@@ -43032,7 +43032,7 @@ class Player {
|
|
|
43032
43032
|
}
|
|
43033
43033
|
}
|
|
43034
43034
|
|
|
43035
|
-
var version$1 = "2.20.
|
|
43035
|
+
var version$1 = "2.20.16";
|
|
43036
43036
|
|
|
43037
43037
|
var packages = {
|
|
43038
43038
|
"node_modules/@clappr/core": {
|